|
Public Member Functions |
|
| OSXMLStringClass () |
| | The default constructor does not creates an empty string but rather set value to 0.
|
| | OSXMLStringClass (const OSUTF8CHAR *strval, OSBOOL cdata_=FALSE, OSBOOL ownMemory=FALSE) |
| | This constructor initializes the string to contain the value.
|
| | OSXMLStringClass (const OSXMLSTRING &str) |
| | Copy constructor.
|
| | OSXMLStringClass (const OSXMLStringClass &str) |
| | Copy constructor.
|
|
virtual | ~OSXMLStringClass () |
| | The destructor frees string memory if the memory ownership flag is set.
|
| OSBaseType * | clone () const |
| | Clone method.
|
| void | copyValue (const OSUTF8CHAR *utf8str) |
| | This method copies the given string value to the internal string storage variable.
|
| void | copyValue (const char *cstring) |
| | 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 OSUTF8CHAR * | getValue () const |
| | This method returns the pointer to UTF-8 null terminated string.
|
| OSBOOL | isCDATA () const |
| | This method returns the value of the cdata member variable.
|
| void | setCDATA (OSBOOL bvalue) |
| | This method sets the value of the cdata member variable.
|
| void | print (const char *name) |
| | This method prints the string value to standard output.
|
| void | setValue (const OSUTF8CHAR *utf8str) |
| | This method sets the string value to the given string.
|
| void | setValue (const char *cstring) |
| | This method sets the string value to the given string.
|
|
OSXMLStringClass & | operator= (const OSXMLStringClass &original) |
| | Assignment operator.
|
|
int | length () |
| | This method returns the number of characters.
|
|
int | size () |
| | This method returns the number of bytes.
|
This is the base class for generated C++ data type classes for XSD string types (string, token, NMTOKEN, etc.).