Helper class for modifying UaChar elements.
More...
#include <uachar.h>
Public Member Functions |
| UaChar () |
| construction
|
| UaChar (char c) |
| construction
|
| UaChar (UaUShort c) |
| construction
|
| UaChar (const char *pUtf8) |
| construction
|
| ~UaChar () |
| destruction
|
UaUShort | unicode () const |
| Converts data to unicode.
|
int | size () const |
| Get the actual size.
|
bool | operator== (const UaChar &other) const |
| Compare variables.
|
bool | operator!= (const UaChar &other) const |
| Returns true if other is not equal to this.
|
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 |
( |
UaUShort |
c | ) |
|
|
explicit |
UaChar::UaChar |
( |
const char * |
c | ) |
|
Member Function Documentation
bool UaChar::operator!= |
( |
const UaChar & |
other | ) |
const |
Returns true if other is not equal to this.
- See Also
- operator==
- Parameters
-
- Returns
- true if other is not equal to this.
bool UaChar::operator== |
( |
const UaChar & |
other | ) |
const |
Compare variables.
- Parameters
-
- 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