Hermes2D  3.0
XMLSolution::elem_coeffs Class Reference

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

#include <solution_h2d_xml.h>

+ Inheritance diagram for XMLSolution::elem_coeffs:

Public Member Functions

virtual ~elem_coeffs ()
 Destructor.
 

id

Accessor and modifier functions for the id required attribute.

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

c

Accessor and modifier functions for the c required attribute.

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

Constructors

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

Detailed Description

Class corresponding to the elem_coeffs schema type.

Definition at line 2157 of file solution_h2d_xml.h.

Constructor & Destructor Documentation

XMLSolution::elem_coeffs::elem_coeffs ( 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 1051 of file solution_h2d_xml.cpp.

XMLSolution::elem_coeffs::elem_coeffs ( const elem_coeffs 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 1041 of file solution_h2d_xml.cpp.

Member Function Documentation

elem_coeffs * XMLSolution::elem_coeffs::_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 1104 of file solution_h2d_xml.cpp.

const elem_coeffs::c_type & XMLSolution::elem_coeffs::c ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 491 of file solution_h2d_xml.cpp.

Referenced by _clone().

elem_coeffs::c_type & XMLSolution::elem_coeffs::c ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 497 of file solution_h2d_xml.cpp.

void XMLSolution::elem_coeffs::c ( const c_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 503 of file solution_h2d_xml.cpp.

const elem_coeffs::id_type & XMLSolution::elem_coeffs::id ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 473 of file solution_h2d_xml.cpp.

elem_coeffs::id_type & XMLSolution::elem_coeffs::id ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 479 of file solution_h2d_xml.cpp.

void XMLSolution::elem_coeffs::id ( const 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 485 of file solution_h2d_xml.cpp.


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