UA Server SDK C++ Bundle
1.4.0.258
|
The class describes a structured data type. More...
#include <uastructuredefinition.h>
Public Member Functions | |
UaStructureDefinition () | |
Creates an empty UaStructureDefinition. | |
UaStructureDefinition (const UaStructureDefinition &other) | |
Copy constructor. | |
virtual | ~UaStructureDefinition () |
Destruction. | |
UaStructureDefinition & | operator= (const UaStructureDefinition &other) |
bool | operator== (const UaStructureDefinition &other) const |
Checks if the UaStructureDefinition is the same. More... | |
bool | operator!= (const UaStructureDefinition &other) const |
Checks if the UaStructureDefinition is not the same. More... | |
bool | isNull () const |
void | setDataTypeId (const UaNodeId &nodeId) |
UaNodeId | dataTypeId () const |
void | setName (const UaString &sName) |
UaString | name () const |
void | setDocumentation (const UaLocalizedText &documentation) |
UaLocalizedText | documentation () const |
void | setNamespace (const UaString &sNamespace) |
UaString | getNamespace () const |
void | setBaseType (const UaStructureDefinition &newBaseType) |
Call this, if a structure is the base type of another one. More... | |
UaNodeId | baseTypeId () const |
UaStructureDefinition | createSubtype () const |
Creates a subtype. More... | |
int | childrenCount () const |
UaStructureField | child (int i) const |
void | addChild (const UaStructureField &newChild) |
void | setBinaryEncodingId (const UaNodeId &nodeId) |
UaNodeId | binaryEncodingId () const |
void | setXmlEncodingId (const UaNodeId &nodeId) |
UaNodeId | xmlEncodingId () const |
void | remove (const UaString &sFieldName) |
bool | isUnion () const |
The class describes a structured data type.
UaStructureDefinition UaStructureDefinition::createSubtype | ( | ) | const |
Creates a subtype.
Adds copies for the fields.
bool UaStructureDefinition::operator!= | ( | const UaStructureDefinition & | other | ) | const |
Checks if the UaStructureDefinition is not the same.
If the definitions are created separately but have the same content, this method returns true.
bool UaStructureDefinition::operator== | ( | const UaStructureDefinition & | other | ) | const |
Checks if the UaStructureDefinition is the same.
If the definitions are created separately but have the same content, this method returns false.
void UaStructureDefinition::setBaseType | ( | const UaStructureDefinition & | newBaseType | ) |
Call this, if a structure is the base type of another one.
This method does not craete fields for the current UaStructureDefinition. The fields of the base type must match the first fields of the current UaStructureDefinition. This method should be used for reading bsd files.