Hermes2D
3.0
|
Class corresponding to the arc schema type. More...
#include <mesh_h2d_xml.h>
Public Member Functions | |
virtual | ~arc () |
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_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... | |
angle | |
Accessor and modifier functions for the angle required attribute. | |
typedef ::xml_schema::decimal | angle_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits < angle_type, char,::xsd::cxx::tree::schema_type::decimal > | angle_traits |
Attribute traits type. | |
const angle_type & | angle () const |
Return a read-only (constant) reference to the attribute. More... | |
angle_type & | angle () |
Return a read-write reference to the attribute. More... | |
void | angle (const angle_type &x) |
Set the attribute value. More... | |
Constructors | |
arc (const v1_type &, const v2_type &, const angle_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
arc (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
arc (const arc &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual arc * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Class corresponding to the arc schema type.
Definition at line 3294 of file mesh_h2d_xml.h.
XMLMesh::arc::arc | ( | 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 2197 of file mesh_h2d_xml.cpp.
XMLMesh::arc::arc | ( | const arc & | 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 2186 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 2264 of file mesh_h2d_xml.cpp.
const arc::angle_type & XMLMesh::arc::angle | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 689 of file mesh_h2d_xml.cpp.
arc::angle_type & XMLMesh::arc::angle | ( | ) |
Return a read-write reference to the attribute.
Definition at line 695 of file mesh_h2d_xml.cpp.
void XMLMesh::arc::angle | ( | const angle_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 701 of file mesh_h2d_xml.cpp.
const arc::v1_type & XMLMesh::arc::v1 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 653 of file mesh_h2d_xml.cpp.
arc::v1_type & XMLMesh::arc::v1 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 659 of file mesh_h2d_xml.cpp.
void XMLMesh::arc::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 665 of file mesh_h2d_xml.cpp.
const arc::v2_type & XMLMesh::arc::v2 | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 671 of file mesh_h2d_xml.cpp.
arc::v2_type & XMLMesh::arc::v2 | ( | ) |
Return a read-write reference to the attribute.
Definition at line 677 of file mesh_h2d_xml.cpp.
void XMLMesh::arc::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 683 of file mesh_h2d_xml.cpp.