Hermes2D  3.0
XMLMesh::t_t Class Reference

Class corresponding to the t_t schema type. More...

#include <mesh_h2d_xml.h>

+ Inheritance diagram for XMLMesh::t_t:

Public Member Functions

virtual ~t_t ()
 Destructor.
 
- Public Member Functions inherited from XMLMesh::el_t
virtual ~el_t ()
 Destructor.
 
const v1_typev1 () const
 Return a read-only (constant) reference to the attribute. More...
 
v1_typev1 ()
 Return a read-write reference to the attribute. More...
 
void v1 (const v1_type &x)
 Set the attribute value. More...
 
const v2_typev2 () const
 Return a read-only (constant) reference to the attribute. More...
 
v2_typev2 ()
 Return a read-write reference to the attribute. More...
 
void v2 (const v2_type &x)
 Set the attribute value. More...
 
const v3_typev3 () const
 Return a read-only (constant) reference to the attribute. More...
 
v3_typev3 ()
 Return a read-write reference to the attribute. More...
 
void v3 (const v3_type &x)
 Set the attribute value. More...
 
const m_typem () const
 Return a read-only (constant) reference to the attribute. More...
 
m_typem ()
 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...
 
 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...
 

Constructors

 t_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.
 
 t_t (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 t_t (const t_t &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual t_t_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 

Additional Inherited Members

- Public Types inherited from XMLMesh::el_t
typedef ::xml_schema::integer v1_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< v1_type, char > 
v1_traits
 Attribute traits type.
 
typedef ::xml_schema::integer v2_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< v2_type, char > 
v2_traits
 Attribute traits type.
 
typedef ::xml_schema::integer v3_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< v3_type, char > 
v3_traits
 Attribute traits type.
 
typedef ::xml_schema::string m_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< m_type, char > 
m_traits
 Attribute traits type.
 

Detailed Description

Class corresponding to the t_t schema type.

Definition at line 1400 of file mesh_h2d_xml.h.

Constructor & Destructor Documentation

XMLMesh::t_t::t_t ( const ::xercesc::DOMElement &  e,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM element.

Parameters
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

Definition at line 1333 of file mesh_h2d_xml.cpp.

XMLMesh::t_t::t_t ( const t_t x,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Copy constructor.

Parameters
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

Definition at line 1325 of file mesh_h2d_xml.cpp.

Member Function Documentation

t_t * XMLMesh::t_t::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA pointer to the object that will contain the copy.
Returns
A pointer to the dynamically allocated 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 from XMLMesh::el_t.

Definition at line 1341 of file mesh_h2d_xml.cpp.


The documentation for this class was generated from the following files: