OSRTUTF8String Class Reference
UTF-8 string. More...
#include <OSRTUTF8String.h>
Inheritance diagram for OSRTUTF8String:

Public Member Functions | |
| OSRTUTF8String () | |
| The default constructor creates an empty string. | |
| OSRTUTF8String (const char *strval) | |
| This constructor initializes the string to contain the given character string value. | |
| OSRTUTF8String (const OSUTF8CHAR *strval) | |
| This constructor initializes the string to contain the given UTF-8 character string value. | |
| OSRTUTF8String (const OSRTUTF8String &str) | |
| Copy constructor. | |
| virtual | ~OSRTUTF8String () |
| The destructor frees string memory if the memory ownership flag is set. | |
| OSRTBaseType * | clone () const |
| Clone method. | |
| void | copyValue (const char *str) |
| This method copies the given string value to the internal string storage variable. | |
| const char * | c_str () const |
| This method returns the pointer to C null terminated string. | |
| const char * | getValue () const |
| This method returns the pointer to UTF-8 null terminated string. | |
| void | print (const char *name) |
| This method prints the string value to standard output. | |
| void | setValue (const char *str) |
| This method sets the string value to the given string. | |
| OSRTUTF8String & | operator= (const OSRTUTF8String &original) |
| Assignment operator. | |
Detailed Description
UTF-8 string.This is the base class for generated C++ data type classes for XSD string types (string, token, NMTOKEN, etc.).
Definition at line 39 of file OSRTUTF8String.h.
Constructor & Destructor Documentation
|
|
This constructor initializes the string to contain the given character string value.
|
|
|
This constructor initializes the string to contain the given UTF-8 character string value.
|
|
|
Copy constructor.
|
Member Function Documentation
|
|
Clone method. Creates a copied instance and returns pointer to OSRTBaseType. Reimplemented from OSRTBaseType. Definition at line 81 of file OSRTUTF8String.h. |
|
|
This method copies the given string value to the internal string storage variable. A deep-copy of the given value is done; the class will delete this memory when the object is deleted.
|
|
|
This method prints the string value to standard output.
Definition at line 111 of file OSRTUTF8String.h. |
|
|
This method sets the string value to the given string. A deep-copy of the given value is not done; the pointer is stored directly in the class member variable.
|
The documentation for this class was generated from the following file:
