Hermes2D
3.0
|
Class corresponding to the curves_type schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~curves_type () |
Destructor. | |
arc | |
Accessor and modifier functions for the arc sequence element. | |
typedef ::XMLMesh::arc | arc_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence < arc_type > | arc_sequence |
Element sequence container type. | |
typedef arc_sequence::iterator | arc_iterator |
Element iterator type. | |
typedef arc_sequence::const_iterator | arc_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits < arc_type, char > | arc_traits |
Element traits type. | |
const arc_sequence & | arc () const |
Return a read-only (constant) reference to the element sequence. More... | |
arc_sequence & | arc () |
Return a read-write reference to the element sequence. More... | |
void | arc (const arc_sequence &s) |
Copy elements from a given sequence. More... | |
NURBS | |
Accessor and modifier functions for the NURBS sequence element. | |
typedef ::XMLMesh::NURBS | NURBS_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence < NURBS_type > | NURBS_sequence |
Element sequence container type. | |
typedef NURBS_sequence::iterator | NURBS_iterator |
Element iterator type. | |
typedef NURBS_sequence::const_iterator | NURBS_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits < NURBS_type, char > | NURBS_traits |
Element traits type. | |
const NURBS_sequence & | NURBS () const |
Return a read-only (constant) reference to the element sequence. More... | |
NURBS_sequence & | NURBS () |
Return a read-write reference to the element sequence. More... | |
void | NURBS (const NURBS_sequence &s) |
Copy elements from a given sequence. More... | |
Constructors | |
curves_type () | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
curves_type (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
curves_type (const curves_type &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual curves_type * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the curves_type schema type.
Definition at line 1752 of file mesh_h2d_xml.h.
XMLMesh::curves_type::curves_type | ( | 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 1537 of file mesh_h2d_xml.cpp.
XMLMesh::curves_type::curves_type | ( | const curves_type & | 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 1527 of file mesh_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 1588 of file mesh_h2d_xml.cpp.
const curves_type::arc_sequence & XMLMesh::curves_type::arc | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 245 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::save_arc().
curves_type::arc_sequence & XMLMesh::curves_type::arc | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 251 of file mesh_h2d_xml.cpp.
void XMLMesh::curves_type::arc | ( | const arc_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 257 of file mesh_h2d_xml.cpp.
const curves_type::NURBS_sequence & XMLMesh::curves_type::NURBS | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 263 of file mesh_h2d_xml.cpp.
curves_type::NURBS_sequence & XMLMesh::curves_type::NURBS | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 269 of file mesh_h2d_xml.cpp.
void XMLMesh::curves_type::NURBS | ( | const NURBS_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 275 of file mesh_h2d_xml.cpp.