MolSim
Loading...
Searching...
No Matches
List of all members
PositionType Class Reference

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

#include <SimulationXSD.h>

Inheritance diagram for PositionType:

x

Accessor and modifier functions for the x required element.

typedef ::xml_schema::Double XType
 Element type.
 
typedef ::xsd::cxx::tree::traits< XType, char, ::xsd::cxx::tree::schema_type::double_ > XTraits
 Element traits type.
 
const XTypex () const
 Return a read-only (constant) reference to the element.
 
XTypex ()
 Return a read-write reference to the element.
 
void x (const XType &x)
 Set the element value.
 

y

Accessor and modifier functions for the y required element.

typedef ::xml_schema::Double YType
 Element type.
 
typedef ::xsd::cxx::tree::traits< YType, char, ::xsd::cxx::tree::schema_type::double_ > YTraits
 Element traits type.
 
const YTypey () const
 Return a read-only (constant) reference to the element.
 
YTypey ()
 Return a read-write reference to the element.
 
void y (const YType &x)
 Set the element value.
 

z

Accessor and modifier functions for the z required element.

typedef ::xml_schema::Double ZType
 Element type.
 
typedef ::xsd::cxx::tree::traits< ZType, char, ::xsd::cxx::tree::schema_type::double_ > ZTraits
 Element traits type.
 
const ZTypez () const
 Return a read-only (constant) reference to the element.
 
ZTypez ()
 Return a read-write reference to the element.
 
void z (const ZType &x)
 Set the element value.
 

Constructors

 PositionType (const XType &, const YType &, const ZType &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 PositionType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Create an instance from a DOM element.
 
 PositionType (const PositionType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0)
 Copy constructor.
 
virtual PositionType_clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const
 Copy the instance polymorphically.
 
PositionTypeoperator= (const PositionType &x)
 Copy assignment operator.
 
virtual ~PositionType ()
 Destructor.
 

Detailed Description

Class corresponding to the positionType schema type.

Member Typedef Documentation

◆ XTraits

typedef ::xsd::cxx::tree::traits<XType, char, ::xsd::cxx::tree::schema_type::double_> PositionType::XTraits

Element traits type.

◆ XType

Element type.

◆ YTraits

typedef ::xsd::cxx::tree::traits<YType, char, ::xsd::cxx::tree::schema_type::double_> PositionType::YTraits

Element traits type.

◆ YType

Element type.

◆ ZTraits

typedef ::xsd::cxx::tree::traits<ZType, char, ::xsd::cxx::tree::schema_type::double_> PositionType::ZTraits

Element traits type.

◆ ZType

Element type.

Constructor & Destructor Documentation

◆ PositionType() [1/3]

PositionType::PositionType ( const XType ,
const YType ,
const ZType  
)

Create an instance from the ultimate base and initializers for required elements and attributes.

◆ PositionType() [2/3]

PositionType::PositionType ( 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.

◆ PositionType() [3/3]

PositionType::PositionType ( const PositionType 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.

◆ ~PositionType()

virtual PositionType::~PositionType ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

virtual PositionType * PositionType::_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.

◆ operator=()

PositionType & PositionType::operator= ( const PositionType x)

Copy assignment operator.

Parameters
xAn instance to make a copy of.
Returns
A reference to itself.

For polymorphic object models use the _clone function instead.

◆ x() [1/3]

XType & PositionType::x ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ x() [2/3]

const XType & PositionType::x ( ) const

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

Returns
A constant reference to the element.

◆ x() [3/3]

void PositionType::x ( const XType x)

Set the element value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the element.

◆ y() [1/3]

YType & PositionType::y ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ y() [2/3]

const YType & PositionType::y ( ) const

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

Returns
A constant reference to the element.

◆ y() [3/3]

void PositionType::y ( const YType x)

Set the element value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the element.

◆ z() [1/3]

ZType & PositionType::z ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ z() [2/3]

const ZType & PositionType::z ( ) const

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

Returns
A constant reference to the element.

◆ z() [3/3]

void PositionType::z ( const ZType x)

Set the element value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the element.


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