|
Molecular Dynamics
v0.4
Project for the Practical hosted by the Scientific Computing Chair
|
Enumeration class corresponding to the Type schema type. More...
#include <ConfigurationFile.h>


Public Types | |
| enum | value { Default , Flow } |
| Underlying enum type. More... | |
Public Member Functions | |
| Type (value v) | |
| Create an instance from the underlying enum value. More... | |
| Type (const char *v) | |
| Create an instance from a C string. More... | |
| Type (const ::std::string &v) | |
| Create an instance from a string. More... | |
| Type (const ::xml_schema::string &v) | |
| Create an instance from the base value. More... | |
| Type (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a DOM element. More... | |
| Type (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a DOM attribute. More... | |
| Type (const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Create an instance from a string fragment. More... | |
| Type (const Type &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
| Copy constructor. More... | |
| virtual Type * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
| Copy the instance polymorphically. More... | |
| Type & | operator= (value v) |
| Assign the underlying enum value. More... | |
| virtual | operator value () const |
| Implicit conversion operator to the underlying enum value. More... | |
Enumeration class corresponding to the Type schema type.
| enum Type::value |
| Type::Type | ( | value | v | ) |
Create an instance from the underlying enum value.
| v | A enum value. |
| Type::Type | ( | const char * | v | ) |
Create an instance from a C string.
| v | A string value. |
| Type::Type | ( | const ::std::string & | v | ) |
Create an instance from a string.
| v | A string value. |
| Type::Type | ( | const ::xml_schema::string & | v | ) |
Create an instance from the base value.
| v | A base value. |
| Type::Type | ( | const ::xercesc::DOMElement & | e, |
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Create an instance from a DOM element.
| e | A DOM element to extract the data from. |
| f | Flags to create the new instance with. |
| c | A pointer to the object that will contain the new instance. |
| Type::Type | ( | const ::xercesc::DOMAttr & | a, |
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Create an instance from a DOM attribute.
| a | A DOM attribute to extract the data from. |
| f | Flags to create the new instance with. |
| c | A pointer to the object that will contain the new instance. |
| Type::Type | ( | const ::std::string & | s, |
| const ::xercesc::DOMElement * | e, | ||
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Create an instance from a string fragment.
| s | A string fragment to extract the data from. |
| e | A pointer to DOM element containing the string fragment. |
| f | Flags to create the new instance with. |
| c | A pointer to the object that will contain the new instance. |
| Type::Type | ( | const Type & | x, |
| ::xml_schema::flags | f = 0, |
||
| ::xml_schema::container * | c = 0 |
||
| ) |
Copy constructor.
| x | An instance to make a copy of. |
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the copy. |
For polymorphic object models use the _clone function instead.
|
virtual |
Copy the instance polymorphically.
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the copy. |
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.
|
inlinevirtual |
Implicit conversion operator to the underlying enum value.
Assign the underlying enum value.
| v | A enum value. |