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

#include <uachar.h>

List of all members.

Public Member Functions

 UaChar ()
 UaChar (char c)
 UaChar (UaUShort c)
 UaChar (const char *pUtf8)
 ~UaChar ()
UaUShort unicode () const
int size () const
bool operator== (const UaChar &other) const
bool operator!= (const UaChar &other) const

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 (  )

construction

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
UaChar::~UaChar (  )

destruction


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:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uachar.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uachar.cpp