Hermes2D
3.0
|
Class corresponding to the knot schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~knot () |
Destructor. | |
value | |
Accessor and modifier functions for the value required attribute. | |
typedef ::xml_schema::decimal | value_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < value_type, char,::xsd::cxx::tree::schema_type::decimal > | value_traits |
Attribute traits type. | |
const value_type & | value () const |
Return a read-only (constant) reference to the attribute. More... | |
value_type & | value () |
Return a read-write reference to the attribute. More... | |
void | value (const value_type &x) |
Set the attribute value. More... | |
Constructors | |
knot (const value_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
knot (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
knot (const knot &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual knot * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the knot schema type.
Definition at line 4287 of file mesh_h2d_xml.h.
XMLMesh::knot::knot | ( | 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. |
Definition at line 2627 of file mesh_h2d_xml.cpp.
XMLMesh::knot::knot | ( | const knot & | 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.
Definition at line 2618 of file mesh_h2d_xml.cpp.
|
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.
Definition at line 2666 of file mesh_h2d_xml.cpp.
const knot::value_type & XMLMesh::knot::value | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 903 of file mesh_h2d_xml.cpp.
knot::value_type & XMLMesh::knot::value | ( | ) |
Return a read-write reference to the attribute.
Definition at line 909 of file mesh_h2d_xml.cpp.
void XMLMesh::knot::value | ( | const value_type & | x | ) |
Set the attribute value.
x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.
Definition at line 915 of file mesh_h2d_xml.cpp.