C++ Based OPC UA Client/Server SDK  1.5.5.355

Helper class for modifying UaChar elements. More...

#include <uachar.h>

Public Member Functions

 UaChar ()
 construction
 
 UaChar (char c)
 construction More...
 
 UaChar (UaUShort c)
 construction More...
 
 UaChar (const char *pUtf8)
 construction More...
 
 ~UaChar ()
 destruction
 
UaUShort unicode () const
 Converts data to unicode. More...
 
int size () const
 Get the actual size. More...
 
bool operator== (const UaChar &other) const
 Compare variables. More...
 
bool operator!= (const UaChar &other) const
 Returns true if other is not equal to this. More...
 

Detailed Description

Helper class for modifying UaChar elements.

The UaChar class provides a 16-bit Unicode character. It is lightweight, so it can be used everywhere.

Constructor & Destructor Documentation

UaChar::UaChar ( char  c)
explicit

construction

Parameters
ca char to create.
UaChar::UaChar ( UaUShort  c)
explicit

construction

Parameters
ca UaUShort to create.
UaChar::UaChar ( const char *  c)

construction

Parameters
ca const char to create

Member Function Documentation

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

Returns true if other is not equal to this.

See also
operator==
Parameters
otherthe UaString to compare.
Returns
true if other is not equal to this.
bool UaChar::operator== ( const UaChar other) const

Compare variables.

Parameters
otherthe UaChar to compare.
Returns
true if similar false if not.
int UaChar::size ( ) const
inline

Get the actual size.

Returns
the actual size.
UaUShort UaChar::unicode ( ) const

Converts data to unicode.

Returns
unicode data.

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