Hermes2D  3.0
XMLSpace::element_data Class Reference

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

#include <space_h2d_xml.h>

+ Inheritance diagram for XMLSpace::element_data:

Public Member Functions

virtual ~element_data ()
 Destructor.
 

e_id

Accessor and modifier functions for the e_id required attribute.

typedef ::xml_schema::integer e_id_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< e_id_type, char > 
e_id_traits
 Attribute traits type.
 
const e_id_typee_id () const
 Return a read-only (constant) reference to the attribute. More...
 
e_id_typee_id ()
 Return a read-write reference to the attribute. More...
 
void e_id (const e_id_type &x)
 Set the attribute value. More...
 

ord

Accessor and modifier functions for the ord required attribute.

typedef ::xml_schema::integer ord_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< ord_type, char > 
ord_traits
 Attribute traits type.
 
const ord_typeord () const
 Return a read-only (constant) reference to the attribute. More...
 
ord_typeord ()
 Return a read-write reference to the attribute. More...
 
void ord (const ord_type &x)
 Set the attribute value. More...
 

bd

Accessor and modifier functions for the bd required attribute.

typedef ::xml_schema::integer bd_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< bd_type, char > 
bd_traits
 Attribute traits type.
 
const bd_typebd () const
 Return a read-only (constant) reference to the attribute. More...
 
bd_typebd ()
 Return a read-write reference to the attribute. More...
 
void bd (const bd_type &x)
 Set the attribute value. More...
 

n

Accessor and modifier functions for the n required attribute.

typedef ::xml_schema::integer n_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< n_type, char > 
n_traits
 Attribute traits type.
 
const n_typen () const
 Return a read-only (constant) reference to the attribute. More...
 
n_typen ()
 Return a read-write reference to the attribute. More...
 
void n (const n_type &x)
 Set the attribute value. More...
 

chgd

Accessor and modifier functions for the chgd required attribute.

typedef ::xml_schema::boolean chgd_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< chgd_type, char > 
chgd_traits
 Attribute traits type.
 
const chgd_typechgd () const
 Return a read-only (constant) reference to the attribute. More...
 
chgd_typechgd ()
 Return a read-write reference to the attribute. More...
 
void chgd (const chgd_type &x)
 Set the attribute value. More...
 

Constructors

 element_data (const e_id_type &, const ord_type &, const bd_type &, const n_type &, const chgd_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 element_data (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 element_data (const element_data &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual element_data_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 

Detailed Description

Class corresponding to the element_data schema type.

Definition at line 879 of file space_h2d_xml.h.

Constructor & Destructor Documentation

XMLSpace::element_data::element_data ( 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 325 of file space_h2d_xml.cpp.

XMLSpace::element_data::element_data ( const element_data 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 312 of file space_h2d_xml.cpp.

Member Function Documentation

element_data * XMLSpace::element_data::_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.

Definition at line 420 of file space_h2d_xml.cpp.

const element_data::bd_type & XMLSpace::element_data::bd ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

Definition at line 137 of file space_h2d_xml.cpp.

element_data::bd_type & XMLSpace::element_data::bd ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 143 of file space_h2d_xml.cpp.

void XMLSpace::element_data::bd ( const bd_type x)

Set the attribute value.

Parameters
xA 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 149 of file space_h2d_xml.cpp.

const element_data::chgd_type & XMLSpace::element_data::chgd ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

Definition at line 173 of file space_h2d_xml.cpp.

element_data::chgd_type & XMLSpace::element_data::chgd ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 179 of file space_h2d_xml.cpp.

void XMLSpace::element_data::chgd ( const chgd_type x)

Set the attribute value.

Parameters
xA 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 185 of file space_h2d_xml.cpp.

const element_data::e_id_type & XMLSpace::element_data::e_id ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

Definition at line 101 of file space_h2d_xml.cpp.

element_data::e_id_type & XMLSpace::element_data::e_id ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 107 of file space_h2d_xml.cpp.

void XMLSpace::element_data::e_id ( const e_id_type x)

Set the attribute value.

Parameters
xA 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 113 of file space_h2d_xml.cpp.

const element_data::n_type & XMLSpace::element_data::n ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

Definition at line 155 of file space_h2d_xml.cpp.

element_data::n_type & XMLSpace::element_data::n ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 161 of file space_h2d_xml.cpp.

void XMLSpace::element_data::n ( const n_type x)

Set the attribute value.

Parameters
xA 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 167 of file space_h2d_xml.cpp.

const element_data::ord_type & XMLSpace::element_data::ord ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.

Definition at line 119 of file space_h2d_xml.cpp.

element_data::ord_type & XMLSpace::element_data::ord ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 125 of file space_h2d_xml.cpp.

void XMLSpace::element_data::ord ( const ord_type x)

Set the attribute value.

Parameters
xA 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 131 of file space_h2d_xml.cpp.


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