Hermes2D
3.0
|
Class corresponding to the v schema type. More...
#include <mesh_h1d_xml.h>
Public Member Functions | |
virtual | ~v () |
Destructor. | |
x | |
Accessor and modifier functions for the x required attribute. | |
typedef ::xml_schema::string | x_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < x_type, char > | x_traits |
Attribute traits type. | |
const x_type & | x () const |
Return a read-only (constant) reference to the attribute. More... | |
x_type & | x () |
Return a read-write reference to the attribute. More... | |
void | x (const x_type &x) |
Set the attribute value. More... | |
void | x (::std::auto_ptr< x_type > p) |
Set the attribute value without copying. More... | |
m | |
Accessor and modifier functions for the m optional attribute. | |
typedef ::xml_schema::string | m_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional < m_type > | m_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits < m_type, char > | m_traits |
Attribute traits type. | |
const m_optional & | m () const |
Return a read-only (constant) reference to the attribute container. More... | |
m_optional & | m () |
Return a read-write reference to the attribute container. More... | |
void | m (const m_type &x) |
Set the attribute value. More... | |
void | m (const m_optional &x) |
Set the attribute value. More... | |
void | m (::std::auto_ptr< m_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
v (const x_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
v (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
v (const v &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual v * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the v schema type.
Definition at line 1218 of file mesh_h1d_xml.h.
XMLMesh1D::v::v | ( | 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 505 of file mesh_h1d_xml.cpp.
XMLMesh1D::v::v | ( | const v & | 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 495 of file mesh_h1d_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 557 of file mesh_h1d_xml.cpp.
const v::m_optional & XMLMesh1D::v::m | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 193 of file mesh_h1d_xml.cpp.
v::m_optional & XMLMesh1D::v::m | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 199 of file mesh_h1d_xml.cpp.
void XMLMesh1D::v::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 205 of file mesh_h1d_xml.cpp.
void XMLMesh1D::v::m | ( | const m_optional & | x | ) |
Set the attribute value.
x | An optional container with the new value to set. |
If the value is present in x then this function makes a copy of this value and sets it as the new value of the attribute. Otherwise the attribute container is set the 'not present' state.
Definition at line 211 of file mesh_h1d_xml.cpp.
void XMLMesh1D::v::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 217 of file mesh_h1d_xml.cpp.
const v::x_type & XMLMesh1D::v::x | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 169 of file mesh_h1d_xml.cpp.
Referenced by m().
v::x_type & XMLMesh1D::v::x | ( | ) |
Return a read-write reference to the attribute.
Definition at line 175 of file mesh_h1d_xml.cpp.
void XMLMesh1D::v::x | ( | const x_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_h1d_xml.cpp.
void XMLMesh1D::v::x | ( | ::std::auto_ptr< x_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_h1d_xml.cpp.