#include <uaextensionobject.h>

List of all members.

Public Types

enum  ExtensionObjectEncoding { None = 0, Binary = 1, Xml = 2, EncodeableObject = 3 }
 

Definition of the ExtensionObjectEncoding Enumeration.

More...

Public Member Functions

 UaExtensionObject ()
 UaExtensionObject (const UaExtensionObject &other)
 UaExtensionObject (const OpcUa_ExtensionObject &other)
 UaExtensionObject (const UaArgument &other)
 UaExtensionObject (const UaRange &other)
 UaExtensionObject (const UaEUInformation &other)
 UaExtensionObject (const UaBuildInfo &other)
 UaExtensionObject (const UaServerStatusDataType &other)
 UaExtensionObject (const UaRedundantServerDataType &other)
 UaExtensionObject (const UaAnnotation &other)
 ~UaExtensionObject ()
void clear ()
UaExtensionObjectoperator= (const UaExtensionObject &other)
 operator const OpcUa_ExtensionObject * () const
OpcUa_ExtensionObject * copy () const
void copyTo (OpcUa_ExtensionObject *pDst) const
void detach ()
UaString toString () const
OpcUa_StatusCode toArgument (UaArgument &val) const
OpcUa_StatusCode toRange (UaRange &val) const
OpcUa_StatusCode toEUInformation (UaEUInformation &val) const
OpcUa_StatusCode toBuildInfo (UaBuildInfo &val) const
OpcUa_StatusCode toServerStatusDataType (UaServerStatusDataType &val) const
OpcUa_StatusCode toAnnotation (UaAnnotation &val) const
ExtensionObjectEncoding encoding () const
const OpcUa_Void * object () const
const OpcUa_EncodeableType * objectType () const
const OpcUa_ByteString * binary () const
const OpcUa_XmlElement * xml () const

Static Public Member Functions

static OpcUa_ExtensionObject * clone (const OpcUa_ExtensionObject &source)
static void cloneTo (const OpcUa_ExtensionObject &source, OpcUa_ExtensionObject &copy)

Detailed Description

UaExtensionObject Derived from OpcUa_ExtensionObject.


Member Enumeration Documentation

Definition of the ExtensionObjectEncoding Enumeration.

Enumerator:
None 

None

Binary 

Binary

Xml 

Xml

EncodeableObject 

EncodableObject


Constructor & Destructor Documentation

UaExtensionObject::UaExtensionObject (  )

Constructs an empty extension object

UaExtensionObject::UaExtensionObject ( const UaExtensionObject other )

Constructs an extension object with the other extension object

UaExtensionObject::UaExtensionObject ( const OpcUa_ExtensionObject &  other )

Constructs an extension object with the other extension object

UaExtensionObject::UaExtensionObject ( const UaArgument other )

Constructs an extension object with an Argument structure

UaExtensionObject::UaExtensionObject ( const UaRange other )

Constructs an extension object with a Range structure

UaExtensionObject::UaExtensionObject ( const UaEUInformation other )

Constructs an extension object with an EUInformation structure

UaExtensionObject::UaExtensionObject ( const UaBuildInfo other )

Constructs an extension object with a BuildInfo structure

UaExtensionObject::UaExtensionObject ( const UaServerStatusDataType other )

Constructs an extension object with a ServerStatusDataType structure

UaExtensionObject::UaExtensionObject ( const UaRedundantServerDataType other )

Constructs an extension object with a RedundantServerDataType structure

UaExtensionObject::UaExtensionObject ( const UaAnnotation other )

Constructs an extension object with an Annotation structure

UaExtensionObject::~UaExtensionObject (  )

destruction


Member Function Documentation

const OpcUa_ByteString* UaExtensionObject::binary (  ) const [inline]

Returns the binary encoded object

void UaExtensionObject::clear (  )

Clear the data of the UaExtensionObject.

OpcUa_ExtensionObject * UaExtensionObject::clone ( const OpcUa_ExtensionObject &  source ) [static]

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes..

Parameters:
sourceSource to clone.
Returns:
new copy.
void UaExtensionObject::cloneTo ( const OpcUa_ExtensionObject &  source,
OpcUa_ExtensionObject &  copy 
) [static]

Copy OpcUa_VariableTypeAttributes data to an exisitng OpcUa_VariableTypeAttributes structure.

Parameters:
sourceSource OpcUa_VariableTypeAttributes to clone.
copyNew copy of source OpcUa_VariableTypeAttributes.
OpcUa_ExtensionObject * UaExtensionObject::copy (  ) const

Copy UaExtensionObject data to a newly allocated OpcUa_ExtensionObject.

Returns:
a newly allocated OpcUa_ExtensionObject.
void UaExtensionObject::copyTo ( OpcUa_ExtensionObject *  pDst ) const

Copy UaExtensionObject data to an exisitng OpcUa_ExtensionObject structure.

Parameters:
pDstthe destination of this operation.
void UaExtensionObject::detach (  )

Reset OpcUa_ExtensionObject structure without clearing the data.

ExtensionObjectEncoding UaExtensionObject::encoding (  ) const [inline]

Returns the encoding of the extension object. Based on the return value of this method, the extension object contains an object as structure, a binary encoded object or a XML encoded object.

const OpcUa_Void* UaExtensionObject::object (  ) const [inline]

Returns a pointer to the object as structure

const OpcUa_EncodeableType* UaExtensionObject::objectType (  ) const [inline]

Returns the encodeable type of the object as structure

UaExtensionObject::operator const OpcUa_ExtensionObject * (  ) const

Return internal OpcUa_ExtensionObject structure.

Returns:
internal OpcUa_ExtensionObject structure.
UaExtensionObject & UaExtensionObject::operator= ( const UaExtensionObject other )

Assignment operator.

Parameters:
otherthe UaExtensionObject to assign.
Returns:
Assignment operator.
OpcUa_StatusCode UaExtensionObject::toAnnotation ( UaAnnotation val ) const

Convert a value to Annotation.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
OpcUa_StatusCode UaExtensionObject::toArgument ( UaArgument val ) const

Set a UaArgument to an argument.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
OpcUa_StatusCode UaExtensionObject::toBuildInfo ( UaBuildInfo val ) const

Convert a value to BuildInfo.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
OpcUa_StatusCode UaExtensionObject::toEUInformation ( UaEUInformation val ) const

Convert a value to EUInformation.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
OpcUa_StatusCode UaExtensionObject::toRange ( UaRange val ) const

Convert a value to Range.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
OpcUa_StatusCode UaExtensionObject::toServerStatusDataType ( UaServerStatusDataType val ) const

Convert a value to ServerStatusDataType.

Parameters:
vala value as UaLocalizedText.
Returns:
the OPC UA Status code.
UaString UaExtensionObject::toString (  ) const

Converts the UaExtensionObject into a UaString.

Returns:
the converted UaExtensionObject.
const OpcUa_XmlElement* UaExtensionObject::xml (  ) const [inline]

Returns the XML encoded object


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaextensionobject.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaextensionobject.cpp