UA Server SDK C++ Bundle  1.3.2.200
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
UaBuildInfo Class Reference

Wrapper class for the UA stack structure OpcUa_BuildInfo. More...

#include <uadiagnostictypes.h>

Public Member Functions

 UaBuildInfo ()
 construction
 UaBuildInfo (const UaBuildInfo &other)
 construction
 UaBuildInfo (const OpcUa_BuildInfo &other)
 construction
 UaBuildInfo (const UaString &productUri, const UaString &manufacturerName, const UaString &productName, const UaString &softwareVersion, const UaString &buildNumber, const UaDateTime &buildDate)
 Set the whole information about the server.
 ~UaBuildInfo ()
 destruction
void clear ()
 Clear the data of the UaBuildInfo.
UaBuildInfooperator= (const UaBuildInfo &other)
 Assignment operator.
 operator const OpcUa_BuildInfo * () const
 Return internal OpcUa_BuildInfo structure.
OpcUa_BuildInfo * copy () const
 Copy UaBuildInfo data to a newly allocated OpcUa_BuildInfo.
void copyTo (OpcUa_BuildInfo *pDst) const
 Copy UaBuildInfo data to an existing OpcUa_BuildInfo structure.
void detach ()
 Reset OpcUa_BuildInfo structure without clearing the data.
UaString toString () const
 Converts the UaBuildInfo into a UaString.
const OpcUa_String * productUri () const
 Get the actual product URI.
const OpcUa_String * manufacturerName () const
 Get the manufacturer name.
const OpcUa_String * productName () const
 Get the product name.
const OpcUa_String * softwareVersion () const
 Get the software version.
const OpcUa_String * buildNumber () const
 Get the build number.
const OpcUa_DateTime * buildDate () const
 Get the build date.

Static Public Member Functions

static OpcUa_BuildInfo * clone (const OpcUa_BuildInfo &source)
 Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
static void cloneTo (const OpcUa_BuildInfo &source, OpcUa_BuildInfo &copy)
 Copy OpcUa_Argument data to an existing OpcUa_BuildInfo structure.

Detailed Description

Wrapper class for the UA stack structure OpcUa_BuildInfo.

Constructor & Destructor Documentation

UaBuildInfo::UaBuildInfo ( const UaBuildInfo other)

construction

Parameters
otherthe UaBuildInfo.
UaBuildInfo::UaBuildInfo ( const OpcUa_BuildInfo &  other)

construction

Parameters
otherthe OpcUa_BuildInfo.
UaBuildInfo::UaBuildInfo ( const UaString productUri,
const UaString manufacturerName,
const UaString productName,
const UaString softwareVersion,
const UaString buildNumber,
const UaDateTime buildDate 
)

Set the whole information about the server.

Parameters
productUrithe product URI of the server.
manufacturerNamethe manufacturer name of the server.
productNamethe product name of the server.
softwareVersionthe software version of the server.
buildNumberthe build number of the server.
buildDatethe build date of the server.

Member Function Documentation

const OpcUa_DateTime* UaBuildInfo::buildDate ( ) const
inline

Get the build date.

Returns
the build date.
const OpcUa_String* UaBuildInfo::buildNumber ( ) const
inline

Get the build number.

Returns
the build number.
void UaBuildInfo::clear ( )

Clear the data of the UaBuildInfo.

OpcUa_BuildInfo * UaBuildInfo::clone ( const OpcUa_BuildInfo &  source)
static

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.

Parameters
sourceSource to clone.
Returns
new copy.
void UaBuildInfo::cloneTo ( const OpcUa_BuildInfo &  source,
OpcUa_BuildInfo &  copy 
)
static

Copy OpcUa_Argument data to an existing OpcUa_BuildInfo structure.

Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure.

Parameters
sourcethe source of this operation.
copyan existing OpcUa_Argument structure.
sourceSource OpcUa_VariableTypeAttributes to clone.
copyNew copy of source OpcUa_VariableTypeAttributes.
OpcUa_BuildInfo * UaBuildInfo::copy ( ) const

Copy UaBuildInfo data to a newly allocated OpcUa_BuildInfo.

Returns
data to a newly allocated OpcUa_BuildInfo.
void UaBuildInfo::copyTo ( OpcUa_BuildInfo *  pDst) const

Copy UaBuildInfo data to an existing OpcUa_BuildInfo structure.

Parameters
pDstthe destination of the copy operation.
void UaBuildInfo::detach ( )

Reset OpcUa_BuildInfo structure without clearing the data.

const OpcUa_String* UaBuildInfo::manufacturerName ( ) const
inline

Get the manufacturer name.

Returns
the manufacturer name.
UaBuildInfo::operator const OpcUa_BuildInfo * ( ) const

Return internal OpcUa_BuildInfo structure.

Returns
internal OpcUa_BuildInfo structure.
UaBuildInfo & UaBuildInfo::operator= ( const UaBuildInfo other)

Assignment operator.

Parameters
otherthe UaBuildInfo to assign.
Returns
Assignment operator.
const OpcUa_String* UaBuildInfo::productName ( ) const
inline

Get the product name.

Returns
the product name.
const OpcUa_String* UaBuildInfo::productUri ( ) const
inline

Get the actual product URI.

Returns
the actual product URI.
const OpcUa_String* UaBuildInfo::softwareVersion ( ) const
inline

Get the software version.

Returns
the software version.
UaString UaBuildInfo::toString ( ) const

Converts the UaBuildInfo into a UaString.

Returns
the converted UaBuildInfo.

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