Hermes2D  3.0
XMLMesh::curves_type Class Reference

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

#include <mesh_h2d_xml.h>

+ Inheritance diagram for XMLMesh::curves_type:

Public Member Functions

virtual ~curves_type ()
 Destructor.
 

arc

Accessor and modifier functions for the arc sequence element.

typedef ::XMLMesh::arc arc_type
 Element type.
 
typedef
::xsd::cxx::tree::sequence
< arc_type
arc_sequence
 Element sequence container type.
 
typedef arc_sequence::iterator arc_iterator
 Element iterator type.
 
typedef
arc_sequence::const_iterator 
arc_const_iterator
 Element constant iterator type.
 
typedef
::xsd::cxx::tree::traits
< arc_type, char > 
arc_traits
 Element traits type.
 
const arc_sequencearc () const
 Return a read-only (constant) reference to the element sequence. More...
 
arc_sequencearc ()
 Return a read-write reference to the element sequence. More...
 
void arc (const arc_sequence &s)
 Copy elements from a given sequence. More...
 

NURBS

Accessor and modifier functions for the NURBS sequence element.

typedef ::XMLMesh::NURBS NURBS_type
 Element type.
 
typedef
::xsd::cxx::tree::sequence
< NURBS_type
NURBS_sequence
 Element sequence container type.
 
typedef NURBS_sequence::iterator NURBS_iterator
 Element iterator type.
 
typedef
NURBS_sequence::const_iterator 
NURBS_const_iterator
 Element constant iterator type.
 
typedef
::xsd::cxx::tree::traits
< NURBS_type, char > 
NURBS_traits
 Element traits type.
 
const NURBS_sequenceNURBS () const
 Return a read-only (constant) reference to the element sequence. More...
 
NURBS_sequenceNURBS ()
 Return a read-write reference to the element sequence. More...
 
void NURBS (const NURBS_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Detailed Description

Class corresponding to the curves_type schema type.

Definition at line 1752 of file mesh_h2d_xml.h.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

const curves_type::arc_sequence & XMLMesh::curves_type::arc ( ) const

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

Returns
A constant reference to the sequence container.

Definition at line 245 of file mesh_h2d_xml.cpp.

Referenced by Hermes::Hermes2D::MeshReaderH2DXML::save_arc().

curves_type::arc_sequence & XMLMesh::curves_type::arc ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.

Definition at line 251 of file mesh_h2d_xml.cpp.

void XMLMesh::curves_type::arc ( const arc_sequence s)

Copy elements from a given sequence.

Parameters
sA 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 257 of file mesh_h2d_xml.cpp.

const curves_type::NURBS_sequence & XMLMesh::curves_type::NURBS ( ) const

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

Returns
A constant reference to the sequence container.

Definition at line 263 of file mesh_h2d_xml.cpp.

curves_type::NURBS_sequence & XMLMesh::curves_type::NURBS ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.

Definition at line 269 of file mesh_h2d_xml.cpp.

void XMLMesh::curves_type::NURBS ( const NURBS_sequence s)

Copy elements from a given sequence.

Parameters
sA 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 275 of file mesh_h2d_xml.cpp.


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