Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
List of all members
Position Class Reference

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

#include <ConfigurationFile.h>

Inheritance diagram for Position:
Inheritance graph
Collaboration diagram for Position:
Collaboration graph

X

Accessor and modifier functions for the X required element.

typedef ::xml_schema::decimal X_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< X_type, char, ::xsd::cxx::tree::schema_type::decimal > X_traits
 Element traits type. More...
 
const X_typeX () const
 Return a read-only (constant) reference to the element. More...
 
X_typeX ()
 Return a read-write reference to the element. More...
 
void X (const X_type &x)
 Set the element value. More...
 

Y

Accessor and modifier functions for the Y required element.

typedef ::xml_schema::decimal Y_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Y_type, char, ::xsd::cxx::tree::schema_type::decimal > Y_traits
 Element traits type. More...
 
const Y_typeY () const
 Return a read-only (constant) reference to the element. More...
 
Y_typeY ()
 Return a read-write reference to the element. More...
 
void Y (const Y_type &x)
 Set the element value. More...
 

Z

Accessor and modifier functions for the Z required element.

typedef ::xml_schema::decimal Z_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Z_type, char, ::xsd::cxx::tree::schema_type::decimal > Z_traits
 Element traits type. More...
 
const Z_typeZ () const
 Return a read-only (constant) reference to the element. More...
 
Z_typeZ ()
 Return a read-write reference to the element. More...
 
void Z (const Z_type &x)
 Set the element value. More...
 

Constructors

 Position (const X_type &, const Y_type &, const Z_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 Position (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 Position (const Position &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual Position_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
Positionoperator= (const Position &x)
 Copy assignment operator. More...
 
virtual ~Position ()
 Destructor. More...
 

Detailed Description

Class corresponding to the Position schema type.

Member Typedef Documentation

◆ X_traits

typedef ::xsd::cxx::tree::traits< X_type, char, ::xsd::cxx::tree::schema_type::decimal > Position::X_traits

Element traits type.

◆ X_type

Element type.

◆ Y_traits

typedef ::xsd::cxx::tree::traits< Y_type, char, ::xsd::cxx::tree::schema_type::decimal > Position::Y_traits

Element traits type.

◆ Y_type

Element type.

◆ Z_traits

typedef ::xsd::cxx::tree::traits< Z_type, char, ::xsd::cxx::tree::schema_type::decimal > Position::Z_traits

Element traits type.

◆ Z_type

Element type.

Constructor & Destructor Documentation

◆ Position() [1/3]

Position::Position ( const X_type X,
const Y_type Y,
const Z_type Z 
)

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

◆ Position() [2/3]

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

◆ Position() [3/3]

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

◆ ~Position()

Position::~Position ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

Position * Position::_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=()

Position & Position::operator= ( const Position 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]

Position::X_type & Position::X ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ X() [2/3]

const Position::X_type & Position::X ( ) const

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

Returns
A constant reference to the element.
Here is the caller graph for this function:

◆ X() [3/3]

void Position::X ( const X_type 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]

Position::Y_type & Position::Y ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Y() [2/3]

const Position::Y_type & Position::Y ( ) const

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

Returns
A constant reference to the element.
Here is the caller graph for this function:

◆ Y() [3/3]

void Position::Y ( const Y_type 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]

Position::Z_type & Position::Z ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Z() [2/3]

const Position::Z_type & Position::Z ( ) const

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

Returns
A constant reference to the element.
Here is the caller graph for this function:

◆ Z() [3/3]

void Position::Z ( const Z_type 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 files: