UaExpandedNodeId Class Reference
[UA Base Library Classes]

Wrapper classs for the ua stack structure OpcUa_ExpandedNodeId. More...

#include <uaexpandednodeid.h>

List of all members.


Public Member Functions

 UaExpandedNodeId ()
 UaExpandedNodeId (const UaExpandedNodeId &other)
 UaExpandedNodeId (const OpcUa_ExpandedNodeId &other)
 UaExpandedNodeId (const UaNodeId &id, const UaString &sNsUri, OpcUa_UInt32 serverIndex)
 ~UaExpandedNodeId ()
void clear ()
void detach ()
UaExpandedNodeIdoperator= (const UaExpandedNodeId &other)
bool operator== (const UaExpandedNodeId &other) const
bool operator!= (const UaExpandedNodeId &other) const
void setExpandedNodeId (const UaNodeId &id, const UaString &sNsUri, OpcUa_UInt32 serverIndex)
 operator const OpcUa_ExpandedNodeId * () const
OpcUa_ExpandedNodeId * copy () const
void copyTo (OpcUa_ExpandedNodeId *pDst) const
UaString toString () const
UaString toFullString () const
OpcUa_NodeId nodeId () const
const OpcUa_String * namespaceUri () const
OpcUa_UInt32 serverIndex () const

Static Public Member Functions

static bool compare (const OpcUa_ExpandedNodeId &, const OpcUa_ExpandedNodeId &)
static OpcUa_ExpandedNodeId * clone (const OpcUa_ExpandedNodeId &source)
static void cloneTo (const OpcUa_ExpandedNodeId &source, OpcUa_ExpandedNodeId &copy)

Detailed Description

Wrapper classs for the ua stack structure OpcUa_ExpandedNodeId.

Constructor & Destructor Documentation

UaExpandedNodeId::UaExpandedNodeId (  ) 

construction

UaExpandedNodeId::UaExpandedNodeId ( const UaExpandedNodeId other  ) 

construction

Parameters:
other the UaExpandedNodeId.

UaExpandedNodeId::UaExpandedNodeId ( const OpcUa_ExpandedNodeId &  other  ) 

construction

Parameters:
other the OpcUa_ExpandedNodeId.

UaExpandedNodeId::UaExpandedNodeId ( const UaNodeId id,
const UaString sNsUri,
OpcUa_UInt32  serverIndex 
)

construction

Parameters:
id the id to set.
sNsUri te namespace URIs.
serverIndex the server index.

UaExpandedNodeId::~UaExpandedNodeId (  ) 

destruction


Member Function Documentation

void UaExpandedNodeId::clear (  ) 

Clear the data of the UaExpandedNodeId.

void UaExpandedNodeId::detach (  ) 

Reset UaExpandedNodeId structure without clearing the data.

UaExpandedNodeId & UaExpandedNodeId::operator= ( const UaExpandedNodeId other  ) 

Copy operator.

Parameters:
other the UaExpandedNodeId to assign.
Returns:
a copy of this operation.

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

Compare variables if they are similar.

Parameters:
other the char to compare.
Returns:
true if not similar false if similar.

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

Returns true if other is not equal to this.

See also:
operator==
Parameters:
other the UaString to compare.
Returns:
true if other is not equal to this.

bool UaExpandedNodeId::compare ( const OpcUa_ExpandedNodeId &  val1,
const OpcUa_ExpandedNodeId &  val2 
) [static]

Compare two UaExpandedNodeId variables.

Parameters:
val1 a value as UaExpandedNodeId.
val2 a value as UaExpandedNodeId.
Returns:
true if equal false if not.

void UaExpandedNodeId::setExpandedNodeId ( const UaNodeId id,
const UaString sNsUri,
OpcUa_UInt32  serverIndex 
)

Set the expanded node id.

Parameters:
id the id to set.
sNsUri the namespace URIs
serverIndex the server index.

UaExpandedNodeId::operator const OpcUa_ExpandedNodeId * (  )  const

Return internal OpcUa_ExpandedNodeId structure.

Returns:
internal OpcUa_ExpandedNodeId structure.

OpcUa_ExpandedNodeId * UaExpandedNodeId::copy (  )  const

Copy UaExpandedNodeId data to a newly allocated OpcUa_ExpandedNodeId.

Returns:
a newly allocated OpcUa_ExpandedNodeId.

void UaExpandedNodeId::copyTo ( OpcUa_ExpandedNodeId *  pDst  )  const

Copy UaExpandedNodeId data to an exisitng OpcUa_ExpandedNodeId structure.

Parameters:
pDst the destination of this operation.

OpcUa_ExpandedNodeId * UaExpandedNodeId::clone ( const OpcUa_ExpandedNodeId &  source  )  [static]

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes..

Parameters:
source Source to clone.
Returns:
new copy.

void UaExpandedNodeId::cloneTo ( const OpcUa_ExpandedNodeId &  source,
OpcUa_ExpandedNodeId &  copy 
) [static]

Copy OpcUa_VariableTypeAttributes data to an exisitng OpcUa_VariableTypeAttributes structure.

Parameters:
source Source OpcUa_VariableTypeAttributes to clone.
copy New copy of source OpcUa_VariableTypeAttributes.

UaString UaExpandedNodeId::toString (  )  const

Converts the UaExpandedNodeId into a UaString.

Returns:
the converted UaExpandedNodeId.

UaString UaExpandedNodeId::toFullString (  )  const

Converts an UaExpandedNodeId to a full string.

Returns:
a full string.

OpcUa_NodeId UaExpandedNodeId::nodeId (  )  const [inline]

Get the actual node id.

Returns:
the actual node id.

const OpcUa_String* UaExpandedNodeId::namespaceUri (  )  const [inline]

Get the namespace URI.

Returns:
the namespace URI.

OpcUa_UInt32 UaExpandedNodeId::serverIndex (  )  const [inline]

Get the server index.

Returns:
the server index.


The documentation for this class was generated from the following files:
  • src/uabase/uabasecpp/uaexpandednodeid.h
  • src/uabase/uabasecpp/uaexpandednodeid.cpp