Hermes2D
3.0
|
Class corresponding to the component schema type. More...
#include <solution_h2d_xml.h>
Public Member Functions | |
virtual | ~component () |
Destructor. | |
elem_coeffs | |
Accessor and modifier functions for the elem_coeffs sequence element. | |
typedef ::XMLSolution::elem_coeffs | elem_coeffs_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence < elem_coeffs_type > | elem_coeffs_sequence |
Element sequence container type. | |
typedef elem_coeffs_sequence::iterator | elem_coeffs_iterator |
Element iterator type. | |
typedef elem_coeffs_sequence::const_iterator | elem_coeffs_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits < elem_coeffs_type, char > | elem_coeffs_traits |
Element traits type. | |
const elem_coeffs_sequence & | elem_coeffs () const |
Return a read-only (constant) reference to the element sequence. More... | |
elem_coeffs_sequence & | elem_coeffs () |
Return a read-write reference to the element sequence. More... | |
void | elem_coeffs (const elem_coeffs_sequence &s) |
Copy elements from a given sequence. More... | |
component_number | |
Accessor and modifier functions for the component_number optional attribute. | |
typedef ::xml_schema::integer | component_number_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional < component_number_type > | component_number_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits < component_number_type, char > | component_number_traits |
Attribute traits type. | |
const component_number_optional & | component_number () const |
Return a read-only (constant) reference to the attribute container. More... | |
component_number_optional & | component_number () |
Return a read-write reference to the attribute container. More... | |
void | component_number (const component_number_type &x) |
Set the attribute value. More... | |
void | component_number (const component_number_optional &x) |
Set the attribute value. More... | |
Constructors | |
component () | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
component (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
component (const component &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual component * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the component schema type.
Definition at line 1944 of file solution_h2d_xml.h.
XMLSolution::component::component | ( | 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 964 of file solution_h2d_xml.cpp.
XMLSolution::component::component | ( | const component & | 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 954 of file solution_h2d_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 1017 of file solution_h2d_xml.cpp.
const component::component_number_optional & XMLSolution::component::component_number | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 445 of file solution_h2d_xml.cpp.
component::component_number_optional & XMLSolution::component::component_number | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 451 of file solution_h2d_xml.cpp.
void XMLSolution::component::component_number | ( | const component_number_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 457 of file solution_h2d_xml.cpp.
void XMLSolution::component::component_number | ( | const component_number_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 463 of file solution_h2d_xml.cpp.
const component::elem_coeffs_sequence & XMLSolution::component::elem_coeffs | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 427 of file solution_h2d_xml.cpp.
component::elem_coeffs_sequence & XMLSolution::component::elem_coeffs | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 433 of file solution_h2d_xml.cpp.
void XMLSolution::component::elem_coeffs | ( | const elem_coeffs_sequence & | s | ) |
Copy elements from a given sequence.
s | A sequence to copy elements from. |
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.
Definition at line 439 of file solution_h2d_xml.cpp.