Hermes2D  3.0
XMLMesh::v Class Reference

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

#include <mesh_h2d_xml.h>

+ Inheritance diagram for XMLMesh::v:

Public Member Functions

virtual ~v ()
 Destructor.
 

x

Accessor and modifier functions for the x required attribute.

typedef ::xml_schema::string x_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< x_type, char > 
x_traits
 Attribute traits type.
 
const x_typex () const
 Return a read-only (constant) reference to the attribute. More...
 
x_typex ()
 Return a read-write reference to the attribute. More...
 
void x (const x_type &x)
 Set the attribute value. More...
 
void x (::std::auto_ptr< x_type > p)
 Set the attribute value without copying. More...
 

y

Accessor and modifier functions for the y required attribute.

typedef ::xml_schema::string y_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< y_type, char > 
y_traits
 Attribute traits type.
 
const y_typey () const
 Return a read-only (constant) reference to the attribute. More...
 
y_typey ()
 Return a read-write reference to the attribute. More...
 
void y (const y_type &x)
 Set the attribute value. More...
 
void y (::std::auto_ptr< y_type > p)
 Set the attribute value without copying. More...
 

i

Accessor and modifier functions for the i required attribute.

typedef ::xml_schema::integer i_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< i_type, char > 
i_traits
 Attribute traits type.
 
const i_typei () const
 Return a read-only (constant) reference to the attribute. More...
 
i_typei ()
 Return a read-write reference to the attribute. More...
 
void i (const i_type &x)
 Set the attribute value. More...
 

Constructors

 v (const x_type &, const y_type &, const i_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 v (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 v (const v &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual v_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 

Detailed Description

Class corresponding to the v schema type.

Definition at line 2805 of file mesh_h2d_xml.h.

Constructor & Destructor Documentation

XMLMesh::v::v ( 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 1980 of file mesh_h2d_xml.cpp.

XMLMesh::v::v ( const v 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 1969 of file mesh_h2d_xml.cpp.

Member Function Documentation

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

const v::i_type & XMLMesh::v::i ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 567 of file mesh_h2d_xml.cpp.

v::i_type & XMLMesh::v::i ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 573 of file mesh_h2d_xml.cpp.

void XMLMesh::v::i ( const i_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 579 of file mesh_h2d_xml.cpp.

const v::x_type & XMLMesh::v::x ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 519 of file mesh_h2d_xml.cpp.

v::x_type & XMLMesh::v::x ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 525 of file mesh_h2d_xml.cpp.

void XMLMesh::v::x ( const x_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 531 of file mesh_h2d_xml.cpp.

void XMLMesh::v::x ( ::std::auto_ptr< x_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

Definition at line 537 of file mesh_h2d_xml.cpp.

const v::y_type & XMLMesh::v::y ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 543 of file mesh_h2d_xml.cpp.

v::y_type & XMLMesh::v::y ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 549 of file mesh_h2d_xml.cpp.

void XMLMesh::v::y ( const y_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 555 of file mesh_h2d_xml.cpp.

void XMLMesh::v::y ( ::std::auto_ptr< y_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

Definition at line 561 of file mesh_h2d_xml.cpp.


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