Hermes2D
3.0
|
Class corresponding to the el_t schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~el_t () |
Destructor. | |
v1 | |
Accessor and modifier functions for the v1 required attribute. | |
typedef ::xml_schema::integer | v1_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < v1_type, char > | v1_traits |
Attribute traits type. | |
const v1_type & | v1 () const |
Return a read-only (constant) reference to the attribute. More... | |
v1_type & | v1 () |
Return a read-write reference to the attribute. More... | |
void | v1 (const v1_type &x) |
Set the attribute value. More... | |
v2 | |
Accessor and modifier functions for the v2 required attribute. | |
typedef ::xml_schema::integer | v2_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < v2_type, char > | v2_traits |
Attribute traits type. | |
const v2_type & | v2 () const |
Return a read-only (constant) reference to the attribute. More... | |
v2_type & | v2 () |
Return a read-write reference to the attribute. More... | |
void | v2 (const v2_type &x) |
Set the attribute value. More... | |
v3 | |
Accessor and modifier functions for the v3 required attribute. | |
typedef ::xml_schema::integer | v3_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < v3_type, char > | v3_traits |
Attribute traits type. | |
const v3_type & | v3 () const |
Return a read-only (constant) reference to the attribute. More... | |
v3_type & | v3 () |
Return a read-write reference to the attribute. More... | |
void | v3 (const v3_type &x) |
Set the attribute value. More... | |
m | |
Accessor and modifier functions for the m required attribute. | |
typedef ::xml_schema::string | m_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < m_type, char > | m_traits |
Attribute traits type. | |
const m_type & | m () const |
Return a read-only (constant) reference to the attribute. More... | |
m_type & | m () |
Return a read-write reference to the attribute. More... | |
void | m (const m_type &x) |
Set the attribute value. More... | |
void | m (::std::auto_ptr< m_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
el_t (const v1_type &, const v2_type &, const v3_type &, const m_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
el_t (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
el_t (const el_t &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual el_t * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the el_t schema type.
Definition at line 1112 of file mesh_h2d_xml.h.
XMLMesh::el_t::el_t | ( | 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 1208 of file mesh_h2d_xml.cpp.
XMLMesh::el_t::el_t | ( | const el_t & | 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 1196 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.
Reimplemented in XMLMesh::q_t, and XMLMesh::t_t.
Definition at line 1292 of file mesh_h2d_xml.cpp.
const el_t::m_type & XMLMesh::el_t::m | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 169 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().
el_t::m_type & XMLMesh::el_t::m | ( | ) |
Return a read-write reference to the attribute.
Definition at line 175 of file mesh_h2d_xml.cpp.
void XMLMesh::el_t::m | ( | const m_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 181 of file mesh_h2d_xml.cpp.
void XMLMesh::el_t::m | ( | ::std::auto_ptr< m_type > | p | ) |
Set the attribute value without copying.
p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
Definition at line 187 of file mesh_h2d_xml.cpp.
const el_t::v1_type & XMLMesh::el_t::v1 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 115 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().
el_t::v1_type & XMLMesh::el_t::v1 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 121 of file mesh_h2d_xml.cpp.
void XMLMesh::el_t::v1 | ( | const v1_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 127 of file mesh_h2d_xml.cpp.
const el_t::v2_type & XMLMesh::el_t::v2 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 133 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().
el_t::v2_type & XMLMesh::el_t::v2 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 139 of file mesh_h2d_xml.cpp.
void XMLMesh::el_t::v2 | ( | const v2_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 145 of file mesh_h2d_xml.cpp.
const el_t::v3_type & XMLMesh::el_t::v3 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 151 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().
el_t::v3_type & XMLMesh::el_t::v3 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 157 of file mesh_h2d_xml.cpp.
void XMLMesh::el_t::v3 | ( | const v3_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 163 of file mesh_h2d_xml.cpp.