Hermes2D  3.0
XMLMesh::inner_point Class Reference

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

#include <mesh_h2d_xml.h>

+ Inheritance diagram for XMLMesh::inner_point:

Public Member Functions

virtual ~inner_point ()
 Destructor.
 

x

Accessor and modifier functions for the x required attribute.

typedef ::xml_schema::decimal x_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< x_type, char,::xsd::cxx::tree::schema_type::decimal > 
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...
 

y

Accessor and modifier functions for the y required attribute.

typedef ::xml_schema::decimal y_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< y_type, char,::xsd::cxx::tree::schema_type::decimal > 
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...
 

weight

Accessor and modifier functions for the weight required attribute.

typedef ::xml_schema::decimal weight_type
 Attribute type.
 
typedef
::xsd::cxx::tree::traits
< weight_type, char,::xsd::cxx::tree::schema_type::decimal > 
weight_traits
 Attribute traits type.
 
const weight_typeweight () const
 Return a read-only (constant) reference to the attribute. More...
 
weight_typeweight ()
 Return a read-write reference to the attribute. More...
 
void weight (const weight_type &x)
 Set the attribute value. More...
 

Constructors

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

Detailed Description

Class corresponding to the inner_point schema type.

Definition at line 4059 of file mesh_h2d_xml.h.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

const inner_point::weight_type & XMLMesh::inner_point::weight ( ) const

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

Returns
A constant reference to the attribute.

Definition at line 881 of file mesh_h2d_xml.cpp.

inner_point::weight_type & XMLMesh::inner_point::weight ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 887 of file mesh_h2d_xml.cpp.

void XMLMesh::inner_point::weight ( const weight_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 893 of file mesh_h2d_xml.cpp.

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

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

Returns
A constant reference to the attribute.

Definition at line 845 of file mesh_h2d_xml.cpp.

inner_point::x_type & XMLMesh::inner_point::x ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 851 of file mesh_h2d_xml.cpp.

void XMLMesh::inner_point::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 857 of file mesh_h2d_xml.cpp.

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

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

Returns
A constant reference to the attribute.

Definition at line 863 of file mesh_h2d_xml.cpp.

inner_point::y_type & XMLMesh::inner_point::y ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.

Definition at line 869 of file mesh_h2d_xml.cpp.

void XMLMesh::inner_point::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 875 of file mesh_h2d_xml.cpp.


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