OSAnyAttrClass Class Reference
Any attribute. More...
#include <rtxCppAnyAttr.h>
Inheritance diagram for OSAnyAttrClass:

Public Member Functions | |
| OSAnyAttrClass () | |
| The default constructor creates an empty attribute. | |
| OSAnyAttrClass (const OSUTF8CHAR *pname, const OSUTF8CHAR *pvalue) | |
| This constructor initializes the attribute to contain the given data values. | |
| OSAnyAttrClass (const char *pname, const char *pvalue) | |
| This constructor initializes the attribute to contain the given data values. | |
| OSAnyAttrClass (OSUTF8CHAR *pname, OSUTF8CHAR *pvalue) | |
| This constructor initializes the attribute to contain the given data values. | |
| OSAnyAttrClass (OSAnyAttr &os) | |
| This copy constructor initializes the attribute to contain the given data values from the C data structure. | |
| OSAnyAttrClass (const OSAnyAttrClass &os) | |
| This copy constructor initializes the attribute to contain the given data values from the C++ data object. | |
| virtual | ~OSAnyAttrClass () |
| The destructor frees string memory. | |
| OSRTBaseType * | clone () const |
| Clone method. | |
| void | copyValue (const OSUTF8CHAR *pname, const OSUTF8CHAR *pvalue) |
| This method copies the given attribute value to the internal string storage variable. | |
| void | setValue (const OSUTF8CHAR *pname, const OSUTF8CHAR *pvalue) |
| This method sets the attribute value to the given name/value. | |
| void | setValue (const OSUTF8CHAR *pname, const OSUTF8CHAR *pvalue, size_t namebytes, size_t valuebytes=0) |
| This method sets the attribute value to the given name/value. | |
| OSAnyAttrClass & | operator= (const OSAnyAttrClass &original) |
| Assignment operator. | |
Detailed Description
Any attribute.This is the base class for generated C++ data type classes for any attribute declarations (xsd:anyAttr).
Definition at line 40 of file rtxCppAnyAttr.h.
Constructor & Destructor Documentation
|
||||||||||||
|
This constructor initializes the attribute to contain the given data values.
|
|
||||||||||||
|
This constructor initializes the attribute to contain the given data values. This version allows the name/value arguments to be passed as standard C character string literal values.
|
|
||||||||||||
|
This constructor initializes the attribute to contain the given data values.
|
|
|
This copy constructor initializes the attribute to contain the given data values from the C data structure. It performs a deep copy.
|
|
|
This copy constructor initializes the attribute to contain the given data values from the C++ data object. It performs a deep copy.
|
Member Function Documentation
|
|
Clone method. Creates a copied instance and returns pointer to OSRTBaseType. Reimplemented from OSRTBaseType. Definition at line 107 of file rtxCppAnyAttr.h. |
|
||||||||||||
|
This method copies the given attribute 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 sets the attribute value to the given name/value. A deep-copy of the given value is not done; the pointer is stored directly in the class member variable.
|
|
||||||||||||
|
This method sets the attribute value to the given name/value. 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:
