Hermes2D  3.0
XMLSubdomains::ed Class Reference

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

#include <subdomains_h2d_xml.h>

+ Inheritance diagram for XMLSubdomains::ed:

Public Member Functions

virtual ~ed ()
 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_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...
 

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_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...
 

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_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...
 

i

Accessor and modifier functions for the i required attribute.

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

Constructors

 ed (const v1_type &, const v2_type &, const m_type &, const i_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 ed (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ed (const ed &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual ed_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 

Detailed Description

Class corresponding to the ed schema type.

Definition at line 1994 of file subdomains_h2d_xml.h.

Constructor & Destructor Documentation

XMLSubdomains::ed::ed ( 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 1453 of file subdomains_h2d_xml.cpp.

XMLSubdomains::ed::ed ( const ed 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 1441 of file subdomains_h2d_xml.cpp.

Member Function Documentation

ed * XMLSubdomains::ed::_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 1537 of file subdomains_h2d_xml.cpp.

const ed::i_type & XMLSubdomains::ed::i ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 439 of file subdomains_h2d_xml.cpp.

ed::i_type & XMLSubdomains::ed::i ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 445 of file subdomains_h2d_xml.cpp.

void XMLSubdomains::ed::i ( const i_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 451 of file subdomains_h2d_xml.cpp.

const ed::m_type & XMLSubdomains::ed::m ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 415 of file subdomains_h2d_xml.cpp.

Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().

ed::m_type & XMLSubdomains::ed::m ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 421 of file subdomains_h2d_xml.cpp.

void XMLSubdomains::ed::m ( const m_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 427 of file subdomains_h2d_xml.cpp.

void XMLSubdomains::ed::m ( ::std::auto_ptr< m_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

Definition at line 433 of file subdomains_h2d_xml.cpp.

const ed::v1_type & XMLSubdomains::ed::v1 ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 379 of file subdomains_h2d_xml.cpp.

Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().

ed::v1_type & XMLSubdomains::ed::v1 ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 385 of file subdomains_h2d_xml.cpp.

void XMLSubdomains::ed::v1 ( const v1_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 391 of file subdomains_h2d_xml.cpp.

const ed::v2_type & XMLSubdomains::ed::v2 ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 397 of file subdomains_h2d_xml.cpp.

Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load().

ed::v2_type & XMLSubdomains::ed::v2 ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 403 of file subdomains_h2d_xml.cpp.

void XMLSubdomains::ed::v2 ( const v2_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 409 of file subdomains_h2d_xml.cpp.


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