Hermes2D
3.0
|
Class corresponding to the NURBS schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~NURBS () |
Destructor. | |
inner_point | |
Accessor and modifier functions for the inner_point sequence element. | |
typedef ::XMLMesh::inner_point | inner_point_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence < inner_point_type > | inner_point_sequence |
Element sequence container type. | |
typedef inner_point_sequence::iterator | inner_point_iterator |
Element iterator type. | |
typedef inner_point_sequence::const_iterator | inner_point_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits < inner_point_type, char > | inner_point_traits |
Element traits type. | |
const inner_point_sequence & | inner_point () const |
Return a read-only (constant) reference to the element sequence. More... | |
inner_point_sequence & | inner_point () |
Return a read-write reference to the element sequence. More... | |
void | inner_point (const inner_point_sequence &s) |
Copy elements from a given sequence. More... | |
knot | |
Accessor and modifier functions for the knot sequence element. | |
typedef ::XMLMesh::knot | knot_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence < knot_type > | knot_sequence |
Element sequence container type. | |
typedef knot_sequence::iterator | knot_iterator |
Element iterator type. | |
typedef knot_sequence::const_iterator | knot_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits < knot_type, char > | knot_traits |
Element traits type. | |
const knot_sequence & | knot () const |
Return a read-only (constant) reference to the element sequence. More... | |
knot_sequence & | knot () |
Return a read-write reference to the element sequence. More... | |
void | knot (const knot_sequence &s) |
Copy elements from a given sequence. More... | |
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_type & | v1 () const |
Return a read-only (constant) reference to the attribute. More... | |
v1_type & | v1 () |
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_type & | v2 () const |
Return a read-only (constant) reference to the attribute. More... | |
v2_type & | v2 () |
Return a read-write reference to the attribute. More... | |
void | v2 (const v2_type &x) |
Set the attribute value. More... | |
deg | |
Accessor and modifier functions for the deg required attribute. | |
typedef ::xml_schema::integer | deg_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < deg_type, char > | deg_traits |
Attribute traits type. | |
const deg_type & | deg () const |
Return a read-only (constant) reference to the attribute. More... | |
deg_type & | deg () |
Return a read-write reference to the attribute. More... | |
void | deg (const deg_type &x) |
Set the attribute value. More... | |
Constructors | |
NURBS (const v1_type &, const v2_type &, const deg_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
NURBS (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
NURBS (const NURBS &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual NURBS * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the NURBS schema type.
Definition at line 3522 of file mesh_h2d_xml.h.
XMLMesh::NURBS::NURBS | ( | 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 2305 of file mesh_h2d_xml.cpp.
XMLMesh::NURBS::NURBS | ( | const NURBS & | 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 2292 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 2405 of file mesh_h2d_xml.cpp.
const NURBS::deg_type & XMLMesh::NURBS::deg | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 783 of file mesh_h2d_xml.cpp.
NURBS::deg_type & XMLMesh::NURBS::deg | ( | ) |
Return a read-write reference to the attribute.
Definition at line 789 of file mesh_h2d_xml.cpp.
void XMLMesh::NURBS::deg | ( | const deg_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 795 of file mesh_h2d_xml.cpp.
const NURBS::inner_point_sequence & XMLMesh::NURBS::inner_point | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 711 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::save_nurbs().
NURBS::inner_point_sequence & XMLMesh::NURBS::inner_point | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 717 of file mesh_h2d_xml.cpp.
void XMLMesh::NURBS::inner_point | ( | const inner_point_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 723 of file mesh_h2d_xml.cpp.
const NURBS::knot_sequence & XMLMesh::NURBS::knot | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 729 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::save_nurbs().
NURBS::knot_sequence & XMLMesh::NURBS::knot | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 735 of file mesh_h2d_xml.cpp.
void XMLMesh::NURBS::knot | ( | const knot_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 741 of file mesh_h2d_xml.cpp.
const NURBS::v1_type & XMLMesh::NURBS::v1 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 747 of file mesh_h2d_xml.cpp.
NURBS::v1_type & XMLMesh::NURBS::v1 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 753 of file mesh_h2d_xml.cpp.
void XMLMesh::NURBS::v1 | ( | const v1_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 759 of file mesh_h2d_xml.cpp.
const NURBS::v2_type & XMLMesh::NURBS::v2 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 765 of file mesh_h2d_xml.cpp.
NURBS::v2_type & XMLMesh::NURBS::v2 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 771 of file mesh_h2d_xml.cpp.
void XMLMesh::NURBS::v2 | ( | const v2_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 777 of file mesh_h2d_xml.cpp.