Hermes2D
3.0
|
Class corresponding to the ref schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~ref () |
Destructor. | |
element_id | |
Accessor and modifier functions for the element_id required attribute. | |
typedef ::xml_schema::integer | element_id_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < element_id_type, char > | element_id_traits |
Attribute traits type. | |
const element_id_type & | element_id () const |
Return a read-only (constant) reference to the attribute. More... | |
element_id_type & | element_id () |
Return a read-write reference to the attribute. More... | |
void | element_id (const element_id_type &x) |
Set the attribute value. More... | |
refinement_type | |
Accessor and modifier functions for the refinement_type required attribute. | |
typedef ::xml_schema::integer | refinement_type_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < refinement_type_type, char > | refinement_type_traits |
Attribute traits type. | |
const refinement_type_type & | refinement_type () const |
Return a read-only (constant) reference to the attribute. More... | |
refinement_type_type & | refinement_type () |
Return a read-write reference to the attribute. More... | |
void | refinement_type (const refinement_type_type &x) |
Set the attribute value. More... | |
Constructors | |
ref (const element_id_type &, const refinement_type_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
ref (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ref (const ref &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ref * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the ref schema type.
Definition at line 3880 of file mesh_h2d_xml.h.
XMLMesh::ref::ref | ( | 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 2439 of file mesh_h2d_xml.cpp.
XMLMesh::ref::ref | ( | const ref & | 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 2429 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 2492 of file mesh_h2d_xml.cpp.
const ref::element_id_type & XMLMesh::ref::element_id | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 805 of file mesh_h2d_xml.cpp.
ref::element_id_type & XMLMesh::ref::element_id | ( | ) |
Return a read-write reference to the attribute.
Definition at line 811 of file mesh_h2d_xml.cpp.
void XMLMesh::ref::element_id | ( | const element_id_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 817 of file mesh_h2d_xml.cpp.
const ref::refinement_type_type & XMLMesh::ref::refinement_type | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 823 of file mesh_h2d_xml.cpp.
ref::refinement_type_type & XMLMesh::ref::refinement_type | ( | ) |
Return a read-write reference to the attribute.
Definition at line 829 of file mesh_h2d_xml.cpp.
void XMLMesh::ref::refinement_type | ( | const refinement_type_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 835 of file mesh_h2d_xml.cpp.