#include <IBlackBoxCmdData.h>
|
| enum | { kDefaultIID = IID_IBLACKBOXCMDDATA } |
| |
Data interface for Black Box Commands. Normally you should go through IBlackBoxCommands.
- See Also
- IBlackBoxCommands
| virtual void* IBlackBoxCmdData::GetBuffer | ( | | ) | const |
| pure virtual |
Return the buffer to hold the data
- Returns
- the buffer containing the data
Return the key the data is stored under
- Returns
- the key the data is stored under
| virtual int32 IBlackBoxCmdData::GetLength | ( | | ) | const |
| pure virtual |
Return the length of the data in the buffer
- Returns
- the length of the data in the buffer
Return the object data is applied to
- Returns
- IBlackBoxData * pointer to the instantiated object
| virtual void IBlackBoxCmdData::Set | ( | const UIDRef & | obj, | | | BlackBoxKey | clsID, | | | void * | buffer = nil, | | | int32 | length = 0 | | ) | | |
| pure virtual |
Set the value of the data. Applies to UID-based elements.
- Parameters
| obj | - object where the data is applied |
| clsID | - key the data is stored under |
| buffer | - buffer to hold the data |
| length | - length of the data in the buffer |
| virtual void IBlackBoxCmdData::Set | ( | const XMLReference & | obj, | | | BlackBoxKey | clsID, | | | void * | buffer = nil, | | | int32 | length = 0 | | ) | | |
| pure virtual |
Set the value of the data. Applies to XML Elements.
- Parameters
| obj | - object where the data is applied |
| clsID | - key the data is stored under |
| buffer | - buffer to hold the data |
| length | - length of the data in the buffer |