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

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

#include <ConfigurationFile.h>

Inheritance diagram for model:
Inheritance graph
Collaboration diagram for model:
Collaboration graph

Name

Accessor and modifier functions for the Name required element.

typedef ::Name Name_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Element traits type. More...
 
const Name_typeName () const
 Return a read-only (constant) reference to the element. More...
 
Name_typeName ()
 Return a read-write reference to the element. More...
 
void Name (const Name_type &x)
 Set the element value. More...
 
void Name (::std::unique_ptr< Name_type > p)
 Set the element value without copying. More...
 

t_end

Accessor and modifier functions for the t_end required element.

typedef ::t_end t_end_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< t_end_type, char > t_end_traits
 Element traits type. More...
 
const t_end_typet_end () const
 Return a read-only (constant) reference to the element. More...
 
t_end_typet_end ()
 Return a read-write reference to the element. More...
 
void t_end (const t_end_type &x)
 Set the element value. More...
 
void t_end (::std::unique_ptr< t_end_type > p)
 Set the element value without copying. More...
 

delta_t

Accessor and modifier functions for the delta_t required element.

typedef ::delta_t delta_t_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< delta_t_type, char > delta_t_traits
 Element traits type. More...
 
const delta_t_typedelta_t () const
 Return a read-only (constant) reference to the element. More...
 
delta_t_typedelta_t ()
 Return a read-write reference to the element. More...
 
void delta_t (const delta_t_type &x)
 Set the element value. More...
 
void delta_t (::std::unique_ptr< delta_t_type > p)
 Set the element value without copying. More...
 

force

Accessor and modifier functions for the force required element.

typedef ::force force_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< force_type, char > force_traits
 Element traits type. More...
 
const force_typeforce () const
 Return a read-only (constant) reference to the element. More...
 
force_typeforce ()
 Return a read-write reference to the element. More...
 
void force (const force_type &x)
 Set the element value. More...
 
void force (::std::unique_ptr< force_type > p)
 Set the element value without copying. More...
 

DomainSize

Accessor and modifier functions for the DomainSize optional element.

typedef ::DomainSize DomainSize_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< DomainSize_typeDomainSize_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< DomainSize_type, char > DomainSize_traits
 Element traits type. More...
 
const DomainSize_optionalDomainSize () const
 Return a read-only (constant) reference to the element container. More...
 
DomainSize_optionalDomainSize ()
 Return a read-write reference to the element container. More...
 
void DomainSize (const DomainSize_type &x)
 Set the element value. More...
 
void DomainSize (const DomainSize_optional &x)
 Set the element value. More...
 
void DomainSize (::std::unique_ptr< DomainSize_type > p)
 Set the element value without copying. More...
 

rCutOff

Accessor and modifier functions for the rCutOff optional element.

typedef ::rCutOff rCutOff_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< rCutOff_typerCutOff_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< rCutOff_type, char > rCutOff_traits
 Element traits type. More...
 
const rCutOff_optionalrCutOff () const
 Return a read-only (constant) reference to the element container. More...
 
rCutOff_optionalrCutOff ()
 Return a read-write reference to the element container. More...
 
void rCutOff (const rCutOff_type &x)
 Set the element value. More...
 
void rCutOff (const rCutOff_optional &x)
 Set the element value. More...
 
void rCutOff (::std::unique_ptr< rCutOff_type > p)
 Set the element value without copying. More...
 

BoundaryCondition

Accessor and modifier functions for the BoundaryCondition optional element.

typedef ::BoundaryCondition BoundaryCondition_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< BoundaryCondition_typeBoundaryCondition_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< BoundaryCondition_type, char > BoundaryCondition_traits
 Element traits type. More...
 
const BoundaryCondition_optionalBoundaryCondition () const
 Return a read-only (constant) reference to the element container. More...
 
BoundaryCondition_optionalBoundaryCondition ()
 Return a read-write reference to the element container. More...
 
void BoundaryCondition (const BoundaryCondition_type &x)
 Set the element value. More...
 
void BoundaryCondition (const BoundaryCondition_optional &x)
 Set the element value. More...
 
void BoundaryCondition (::std::unique_ptr< BoundaryCondition_type > p)
 Set the element value without copying. More...
 

Constructors

 model (const Name_type &, const t_end_type &, const delta_t_type &, const force_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 model (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 model (const model &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual model_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
modeloperator= (const model &x)
 Copy assignment operator. More...
 
virtual ~model ()
 Destructor. More...
 

Detailed Description

Class corresponding to the model schema type.

Member Typedef Documentation

◆ BoundaryCondition_optional

typedef ::xsd::cxx::tree::optional< BoundaryCondition_type > model::BoundaryCondition_optional

Element optional container type.

◆ BoundaryCondition_traits

typedef ::xsd::cxx::tree::traits< BoundaryCondition_type, char > model::BoundaryCondition_traits

Element traits type.

◆ BoundaryCondition_type

Element type.

◆ delta_t_traits

typedef ::xsd::cxx::tree::traits< delta_t_type, char > model::delta_t_traits

Element traits type.

◆ delta_t_type

Element type.

◆ DomainSize_optional

typedef ::xsd::cxx::tree::optional< DomainSize_type > model::DomainSize_optional

Element optional container type.

◆ DomainSize_traits

typedef ::xsd::cxx::tree::traits< DomainSize_type, char > model::DomainSize_traits

Element traits type.

◆ DomainSize_type

Element type.

◆ force_traits

typedef ::xsd::cxx::tree::traits< force_type, char > model::force_traits

Element traits type.

◆ force_type

Element type.

◆ Name_traits

typedef ::xsd::cxx::tree::traits< Name_type, char > model::Name_traits

Element traits type.

◆ Name_type

Element type.

◆ rCutOff_optional

typedef ::xsd::cxx::tree::optional< rCutOff_type > model::rCutOff_optional

Element optional container type.

◆ rCutOff_traits

typedef ::xsd::cxx::tree::traits< rCutOff_type, char > model::rCutOff_traits

Element traits type.

◆ rCutOff_type

Element type.

◆ t_end_traits

typedef ::xsd::cxx::tree::traits< t_end_type, char > model::t_end_traits

Element traits type.

◆ t_end_type

Element type.

Constructor & Destructor Documentation

◆ model() [1/3]

model::model ( const Name_type Name,
const t_end_type t_end,
const delta_t_type delta_t,
const force_type force 
)

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

◆ model() [2/3]

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

◆ model() [3/3]

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

◆ ~model()

model::~model ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ BoundaryCondition() [1/5]

model::BoundaryCondition_optional & model::BoundaryCondition ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ BoundaryCondition() [2/5]

const model::BoundaryCondition_optional & model::BoundaryCondition ( ) const

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

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

◆ BoundaryCondition() [3/5]

void model::BoundaryCondition ( ::std::unique_ptr< BoundaryCondition_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ BoundaryCondition() [4/5]

void model::BoundaryCondition ( const BoundaryCondition_optional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ BoundaryCondition() [5/5]

void model::BoundaryCondition ( const BoundaryCondition_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.

◆ delta_t() [1/4]

model::delta_t_type & model::delta_t ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ delta_t() [2/4]

const model::delta_t_type & model::delta_t ( ) 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:

◆ delta_t() [3/4]

void model::delta_t ( ::std::unique_ptr< delta_t_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ delta_t() [4/4]

void model::delta_t ( const delta_t_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.

◆ DomainSize() [1/5]

model::DomainSize_optional & model::DomainSize ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ DomainSize() [2/5]

const model::DomainSize_optional & model::DomainSize ( ) const

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

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

◆ DomainSize() [3/5]

void model::DomainSize ( ::std::unique_ptr< DomainSize_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ DomainSize() [4/5]

void model::DomainSize ( const DomainSize_optional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ DomainSize() [5/5]

void model::DomainSize ( const DomainSize_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.

◆ force() [1/4]

model::force_type & model::force ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ force() [2/4]

const model::force_type & model::force ( ) 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:

◆ force() [3/4]

void model::force ( ::std::unique_ptr< force_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ force() [4/4]

void model::force ( const force_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.

◆ Name() [1/4]

model::Name_type & model::Name ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Name() [2/4]

const model::Name_type & model::Name ( ) 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:

◆ Name() [3/4]

void model::Name ( ::std::unique_ptr< Name_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ Name() [4/4]

void model::Name ( const Name_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.

◆ operator=()

model & model::operator= ( const model 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.

◆ rCutOff() [1/5]

model::rCutOff_optional & model::rCutOff ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ rCutOff() [2/5]

const model::rCutOff_optional & model::rCutOff ( ) const

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

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

◆ rCutOff() [3/5]

void model::rCutOff ( ::std::unique_ptr< rCutOff_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ rCutOff() [4/5]

void model::rCutOff ( const rCutOff_optional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

◆ rCutOff() [5/5]

void model::rCutOff ( const rCutOff_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.

◆ t_end() [1/4]

model::t_end_type & model::t_end ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ t_end() [2/4]

const model::t_end_type & model::t_end ( ) 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:

◆ t_end() [3/4]

void model::t_end ( ::std::unique_ptr< t_end_type p)

Set the element value without copying.

Parameters
pA new value to use.

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

◆ t_end() [4/4]

void model::t_end ( const t_end_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: