#include <iopcPcClassStore.h>
Inheritance diagram for IopcPcClassStore:
Public Member Functions | |
IopcPcClassStore () | |
void | addBaseClassInfo (const char *className, const char *baseClassName) |
int | addAttribute (const char *className, const char *attrName, TypeInfo &attrTypeInfo, AccessSpecifier access, const char *hint, const bool declaredInAncestor, const bool persistent) |
bool | isClassPersistent (const char *className) |
bool | isAttributePersistent (const char *className, const char *attrName) |
bool | canDereferenceAttribute (const char *className, const char *attrName) |
Static Public Member Functions | |
bool | isPersistentType (TypeInfo &typeInfo) |
IopcAttributeInfo | occTypeToIopcType (TypeInfo &typeInfo) |
Protected Member Functions | |
IopcPcClassInfo * | getClass (const char *className, bool addIfNotPresent) |
Protected Attributes | |
std::vector< IopcPcClassInfo > | classes |
int | lastClassIndex |
To add persistence of currently non-persistent data type modify function isPersistentType(). If you will not make any other changes to IOPC SP, iopcImport()
and iopcExport()
functions will be called on the attribute when loading it from / saving it to database. See IopcTranslatingSupport::createImportAttributesFnc(), IopcTranslatingSupport::createExportAttributesFnc().
All functions that need to access information about one concrete class use function getClass().
|
Simple constructor.
|
|
Adds to information about persistent capable class
|
|
Adds to information about persistent capable class
If attribute name (
|
|
Tests whether the class is persistent capable (i.e. it has been already added to this object).
|
|
Tests whether attribute
|
|
Tests whether potentially persistent attribute
|
|
Returns true if type represented by This is the only function that user HAVE TO modify if he wants to add persistence support for a new data type. See general information about this class for details.
|
|
Converts Open C++ representation of attribute type to IOPC SP representation.
|
|
Finds information about class
If
|
|
Array of information about persistent capable classes.
|
|
Index of most recently used class.
|