|
C++/Tree Mapping Runtime Library
|
Base class for element types. More...
#include <elements.hxx>
Public Member Functions | |
| virtual element_type * | _clone (flags f=0) const =0 |
| Copy the instance polymorphically. | |
| virtual const std::basic_string< C > & | _name () const =0 |
| Return the element name. | |
| virtual const std::basic_string< C > & | _namespace () const =0 |
| Return the element namespace. | |
| virtual T * | _value ()=0 |
| Return the element value. | |
| virtual const T * | _value () const =0 |
| Return the element value. | |
Base class for element types.
This class is a base for every generated element type.
|
pure virtual |
Copy the instance polymorphically.
| f | Flags to create the copy with. |
This function ensures that the dynamic type of the instance is used for copying and should be used for polymorphic object models instead of the copy constructor.
|
pure virtual |
Return the element name.
|
pure virtual |
Return the element namespace.
|
pure virtual |
Return the element value.
|
pure virtual |
Return the element value.