C++ UA Server SDK  1.5.1.326
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
UaOptionSetDefinition Class Reference

The class describes an OptionSet. More...

#include <uaoptionsetdefinition.h>

Inherits UaAbstractDefinition.

Public Member Functions

 UaOptionSetDefinition ()
 Creates an instance.
 
 UaOptionSetDefinition (const UaOptionSetDefinition &other)
 Copies an UaOptionSetDefinition including all OptionSetValues.
 
UaOptionSetDefinitionoperator= (const UaOptionSetDefinition &other)
 Assignment operator.
 
bool operator== (const UaOptionSetDefinition &other) const
 Checks whether two UaOptionSetDefinitions are equal. More...
 
bool operator!= (const UaOptionSetDefinition &other) const
 Checks wheter two UaOptionSetDefinitions are not equal. More...
 
virtual void clear ()
 Clears an UaOptionSetDefinition including all OptionSetValues.
 
virtual void setDataTypeId (const UaNodeId &nodeId)
 Sets the DataTypeId of the UaOptionSetDefinition.
 
virtual void setName (const UaString &sName)
 Sets the Name of the UaOptionSetDefinition.
 
virtual void setDocumentation (const UaLocalizedText &documentation)
 Sets the Documentation of the UaOptionSetDefinition.
 
virtual void setNamespace (const UaString &sNamespace)
 Sets the Namespace of the UaOptionSetDefinition.
 
virtual int childrenCount () const
 Returns the number of OptionSet values.
 
BaseType baseType () const
 Returns the base type id of the UaOptionSetDefinition. More...
 
void setBaseType (BaseType baseType)
 Sets the base type of the UaOptionSetDefinition. More...
 
UaLocalizedText child (int i) const
 Returns the OptionSet value for bit i. More...
 
void addChild (const UaLocalizedText &newChild)
 Adds an OptionSetValue. More...
 
UaLocalizedTextArray children () const
 Returns the OptionSet values. More...
 
void setChildren (const UaLocalizedTextArray &children)
 Sets all OptionSet values. More...
 
void setBinaryEncodingId (const UaNodeId &nodeId)
 Sets the Binary encoding id. More...
 
UaNodeId binaryEncodingId () const
 Returns the Binary encoding id. More...
 
void setXmlEncodingId (const UaNodeId &nodeId)
 Sets the XML encoding id. More...
 
UaNodeId xmlEncodingId () const
 Returns the XML encoding id. More...
 
- Public Member Functions inherited from UaAbstractDefinition
 UaAbstractDefinition ()
 Creates an instance. More...
 
virtual bool isNull () const
 Checks if the DataType is set. More...
 
UaNodeId dataTypeId () const
 Returns the DataTypeId of the UaEnumDefinition. More...
 
UaString name () const
 Returns the name of the UaEnumDefinition. More...
 
UaLocalizedText documentation () const
 Returns the documentation of the UaEnumDefinition. More...
 
UaString getNamespace () const
 Returns the NamespaceUri of the UaEnumDefinition. More...
 

Additional Inherited Members

- Protected Member Functions inherited from UaAbstractDefinition
 UaAbstractDefinition (UaAbstractDefinitionPrivate *pBody)
 Creates an instance. More...
 

Detailed Description

The class describes an OptionSet.

You can access the values by index..

Member Function Documentation

void UaOptionSetDefinition::addChild ( const UaLocalizedText newChild)

Adds an OptionSetValue.

UaOptionSetDefinition::BaseType UaOptionSetDefinition::baseType ( ) const

Returns the base type id of the UaOptionSetDefinition.

UaNodeId UaOptionSetDefinition::binaryEncodingId ( ) const

Returns the Binary encoding id.

UaLocalizedText UaOptionSetDefinition::child ( int  i) const

Returns the OptionSet value for bit i.

UaLocalizedTextArray UaOptionSetDefinition::children ( ) const

Returns the OptionSet values.

bool UaOptionSetDefinition::operator!= ( const UaOptionSetDefinition other) const

Checks wheter two UaOptionSetDefinitions are not equal.

If the definitions are created separately but have the same content, this method returns true.

bool UaOptionSetDefinition::operator== ( const UaOptionSetDefinition other) const

Checks whether two UaOptionSetDefinitions are equal.

If the definitions are created separately but have the same content, this method returns false.

void UaOptionSetDefinition::setBaseType ( UaOptionSetDefinition::BaseType  baseType)

Sets the base type of the UaOptionSetDefinition.

void UaOptionSetDefinition::setBinaryEncodingId ( const UaNodeId nodeId)

Sets the Binary encoding id.

void UaOptionSetDefinition::setChildren ( const UaLocalizedTextArray children)

Sets all OptionSet values.

OptionSet values that are existing already, are discared.

void UaOptionSetDefinition::setXmlEncodingId ( const UaNodeId nodeId)

Sets the XML encoding id.

UaNodeId UaOptionSetDefinition::xmlEncodingId ( ) const

Returns the XML encoding id.


The documentation for this class was generated from the following files: