#include <iopcPersistentObject.h>
Public Member Functions | |
IopcImportExportStruct () | |
~IopcImportExportStruct () | |
Public Attributes | |
bool | valid |
void * | additionalData |
Used when transfering data between persistent class instance and IOPC LIB runtime.
The struct contains flag valid, union containing the data to be imported / exported and possibly some additional data.
Which union entry should be used knows IOPC LIB runtime from metadata - entries in IopcClassObjectImpl::importExportArray correspond to lexicographically ordered class attributes.
|
Simple constructor.
|
|
Simple destructor, deletes additionalData.
|
|
Contains this entry valid data?
|
|
Used if corresponding attribute type is IOPC_BOOL.
|
|
Used if corresponding attribute type is IOPC_CHAR.
|
|
Used if corresponding attribute type is IOPC_UCHAR.
|
|
Used if corresponding attribute type is IOPC_SCHAR.
|
|
Used if corresponding attribute type is IOPC_SHORT.
|
|
Used if corresponding attribute type is IOPC_USHORT.
|
|
Used if corresponding attribute type is IOPC_INT.
|
|
Used if corresponding attribute type is IOPC_UINT.
|
|
Used if corresponding attribute type is IOPC_LONG.
|
|
Used if corresponding attribute type is IOPC_ULONG.
|
|
Used if corresponding attribute type is IOPC_FLOAT.
|
|
Used if corresponding attribute type is IOPC_DOUBLE.
|
|
Used if corresponding attribute type is IOPC_LONGDOUBLE.
|
|
Used if corresponding attribute type is IOPC_WCHAR_T.
|
|
Used if corresponding attribute type is IOPC_STRING.
|
|
Used if corresponding attribute type is IOPC_WSTRING.
|
|
Structure's additional data. If the entry correspond to string-type attribute, a buffer is allocated and this pointer points to it. The buffer is used when loading the string from the database. When importing the data into persistent class instance (IopcPersistentObject::iopcImportAttributes()), the string is copyied.
|