Hermes2D  3.0
XMLMesh::arc Class Reference

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

#include <mesh_h2d_xml.h>

+ Inheritance diagram for XMLMesh::arc:

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_typev1 () const
 Return a read-only (constant) reference to the attribute. More...
 
v1_typev1 ()
 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_typev2 () const
 Return a read-only (constant) reference to the attribute. More...
 
v2_typev2 ()
 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_typeangle () const
 Return a read-only (constant) reference to the attribute. More...
 
angle_typeangle ()
 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...
 

Detailed Description

Class corresponding to the arc schema type.

Definition at line 3294 of file mesh_h2d_xml.h.

Constructor & Destructor Documentation

XMLMesh::arc::arc ( 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 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.

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 2186 of file mesh_h2d_xml.cpp.

Member Function Documentation

arc * XMLMesh::arc::_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 2264 of file mesh_h2d_xml.cpp.

const arc::angle_type & XMLMesh::arc::angle ( ) const

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

Returns
A 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.

Returns
A 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.

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 701 of file mesh_h2d_xml.cpp.

const arc::v1_type & XMLMesh::arc::v1 ( ) const

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

Returns
A 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.

Returns
A 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.

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 665 of file mesh_h2d_xml.cpp.

const arc::v2_type & XMLMesh::arc::v2 ( ) const

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

Returns
A 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.

Returns
A 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.

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 683 of file mesh_h2d_xml.cpp.


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