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

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

#include <ConfigurationFile.h>

Inheritance diagram for Molecules:
Inheritance graph
Collaboration diagram for Molecules:
Collaboration graph

OutputFileName

Accessor and modifier functions for the OutputFileName required element.

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

OutputFrequency

Accessor and modifier functions for the OutputFrequency required element.

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

ParallelizationStrategy

Accessor and modifier functions for the ParallelizationStrategy optional element.

typedef ::ParallelizationStrategy ParallelizationStrategy_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< ParallelizationStrategy_typeParallelizationStrategy_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< ParallelizationStrategy_type, char > ParallelizationStrategy_traits
 Element traits type. More...
 
const ParallelizationStrategy_optionalParallelizationStrategy () const
 Return a read-only (constant) reference to the element container. More...
 
ParallelizationStrategy_optionalParallelizationStrategy ()
 Return a read-write reference to the element container. More...
 
void ParallelizationStrategy (const ParallelizationStrategy_type &x)
 Set the element value. More...
 
void ParallelizationStrategy (const ParallelizationStrategy_optional &x)
 Set the element value. More...
 
void ParallelizationStrategy (::std::unique_ptr< ParallelizationStrategy_type > p)
 Set the element value without copying. More...
 

ThermostatConfig

Accessor and modifier functions for the ThermostatConfig optional element.

typedef ::ThermostatConfig ThermostatConfig_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< ThermostatConfig_typeThermostatConfig_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< ThermostatConfig_type, char > ThermostatConfig_traits
 Element traits type. More...
 
const ThermostatConfig_optionalThermostatConfig () const
 Return a read-only (constant) reference to the element container. More...
 
ThermostatConfig_optionalThermostatConfig ()
 Return a read-write reference to the element container. More...
 
void ThermostatConfig (const ThermostatConfig_type &x)
 Set the element value. More...
 
void ThermostatConfig (const ThermostatConfig_optional &x)
 Set the element value. More...
 
void ThermostatConfig (::std::unique_ptr< ThermostatConfig_type > p)
 Set the element value without copying. More...
 

GravityConfig

Accessor and modifier functions for the GravityConfig optional element.

typedef ::GravityConfig GravityConfig_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< GravityConfig_typeGravityConfig_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< GravityConfig_type, char > GravityConfig_traits
 Element traits type. More...
 
const GravityConfig_optionalGravityConfig () const
 Return a read-only (constant) reference to the element container. More...
 
GravityConfig_optionalGravityConfig ()
 Return a read-write reference to the element container. More...
 
void GravityConfig (const GravityConfig_type &x)
 Set the element value. More...
 
void GravityConfig (const GravityConfig_optional &x)
 Set the element value. More...
 
void GravityConfig (::std::unique_ptr< GravityConfig_type > p)
 Set the element value without copying. More...
 

model

Accessor and modifier functions for the model required element.

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

SingleParticles

Accessor and modifier functions for the SingleParticles optional element.

typedef ::SingleParticles SingleParticles_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< SingleParticles_typeSingleParticles_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< SingleParticles_type, char > SingleParticles_traits
 Element traits type. More...
 
const SingleParticles_optionalSingleParticles () const
 Return a read-only (constant) reference to the element container. More...
 
SingleParticles_optionalSingleParticles ()
 Return a read-write reference to the element container. More...
 
void SingleParticles (const SingleParticles_type &x)
 Set the element value. More...
 
void SingleParticles (const SingleParticles_optional &x)
 Set the element value. More...
 
void SingleParticles (::std::unique_ptr< SingleParticles_type > p)
 Set the element value without copying. More...
 

Cuboids

Accessor and modifier functions for the Cuboids optional element.

typedef ::Cuboids Cuboids_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Cuboids_typeCuboids_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Cuboids_type, char > Cuboids_traits
 Element traits type. More...
 
const Cuboids_optionalCuboids () const
 Return a read-only (constant) reference to the element container. More...
 
Cuboids_optionalCuboids ()
 Return a read-write reference to the element container. More...
 
void Cuboids (const Cuboids_type &x)
 Set the element value. More...
 
void Cuboids (const Cuboids_optional &x)
 Set the element value. More...
 
void Cuboids (::std::unique_ptr< Cuboids_type > p)
 Set the element value without copying. More...
 

Discs

Accessor and modifier functions for the Discs optional element.

typedef ::Discs Discs_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Discs_typeDiscs_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Discs_type, char > Discs_traits
 Element traits type. More...
 
const Discs_optionalDiscs () const
 Return a read-only (constant) reference to the element container. More...
 
Discs_optionalDiscs ()
 Return a read-write reference to the element container. More...
 
void Discs (const Discs_type &x)
 Set the element value. More...
 
void Discs (const Discs_optional &x)
 Set the element value. More...
 
void Discs (::std::unique_ptr< Discs_type > p)
 Set the element value without copying. More...
 

Spheres

Accessor and modifier functions for the Spheres optional element.

typedef ::Spheres Spheres_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Spheres_typeSpheres_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Spheres_type, char > Spheres_traits
 Element traits type. More...
 
const Spheres_optionalSpheres () const
 Return a read-only (constant) reference to the element container. More...
 
Spheres_optionalSpheres ()
 Return a read-write reference to the element container. More...
 
void Spheres (const Spheres_type &x)
 Set the element value. More...
 
void Spheres (const Spheres_optional &x)
 Set the element value. More...
 
void Spheres (::std::unique_ptr< Spheres_type > p)
 Set the element value without copying. More...
 

Membrane

Accessor and modifier functions for the Membrane optional element.

typedef ::Membrane Membrane_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Membrane_typeMembrane_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Membrane_type, char > Membrane_traits
 Element traits type. More...
 
const Membrane_optionalMembrane () const
 Return a read-only (constant) reference to the element container. More...
 
Membrane_optionalMembrane ()
 Return a read-write reference to the element container. More...
 
void Membrane (const Membrane_type &x)
 Set the element value. More...
 
void Membrane (const Membrane_optional &x)
 Set the element value. More...
 
void Membrane (::std::unique_ptr< Membrane_type > p)
 Set the element value without copying. More...
 

Constructors

 Molecules (const OutputFileName_type &, const OutputFrequency_type &, const model_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 Molecules (const OutputFileName_type &, const OutputFrequency_type &, ::std::unique_ptr< model_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 Molecules (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 Molecules (const Molecules &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual Molecules_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
Moleculesoperator= (const Molecules &x)
 Copy assignment operator. More...
 
virtual ~Molecules ()
 Destructor. More...
 

Detailed Description

Class corresponding to the Molecules schema type.

Member Typedef Documentation

◆ Cuboids_optional

typedef ::xsd::cxx::tree::optional< Cuboids_type > Molecules::Cuboids_optional

Element optional container type.

◆ Cuboids_traits

typedef ::xsd::cxx::tree::traits< Cuboids_type, char > Molecules::Cuboids_traits

Element traits type.

◆ Cuboids_type

Element type.

◆ Discs_optional

typedef ::xsd::cxx::tree::optional< Discs_type > Molecules::Discs_optional

Element optional container type.

◆ Discs_traits

typedef ::xsd::cxx::tree::traits< Discs_type, char > Molecules::Discs_traits

Element traits type.

◆ Discs_type

Element type.

◆ GravityConfig_optional

typedef ::xsd::cxx::tree::optional< GravityConfig_type > Molecules::GravityConfig_optional

Element optional container type.

◆ GravityConfig_traits

typedef ::xsd::cxx::tree::traits< GravityConfig_type, char > Molecules::GravityConfig_traits

Element traits type.

◆ GravityConfig_type

Element type.

◆ Membrane_optional

typedef ::xsd::cxx::tree::optional< Membrane_type > Molecules::Membrane_optional

Element optional container type.

◆ Membrane_traits

typedef ::xsd::cxx::tree::traits< Membrane_type, char > Molecules::Membrane_traits

Element traits type.

◆ Membrane_type

Element type.

◆ model_traits

typedef ::xsd::cxx::tree::traits< model_type, char > Molecules::model_traits

Element traits type.

◆ model_type

Element type.

◆ OutputFileName_traits

typedef ::xsd::cxx::tree::traits< OutputFileName_type, char > Molecules::OutputFileName_traits

Element traits type.

◆ OutputFileName_type

Element type.

◆ OutputFrequency_traits

typedef ::xsd::cxx::tree::traits< OutputFrequency_type, char > Molecules::OutputFrequency_traits

Element traits type.

◆ OutputFrequency_type

Element type.

◆ ParallelizationStrategy_optional

Element optional container type.

◆ ParallelizationStrategy_traits

Element traits type.

◆ ParallelizationStrategy_type

Element type.

◆ SingleParticles_optional

typedef ::xsd::cxx::tree::optional< SingleParticles_type > Molecules::SingleParticles_optional

Element optional container type.

◆ SingleParticles_traits

typedef ::xsd::cxx::tree::traits< SingleParticles_type, char > Molecules::SingleParticles_traits

Element traits type.

◆ SingleParticles_type

Element type.

◆ Spheres_optional

typedef ::xsd::cxx::tree::optional< Spheres_type > Molecules::Spheres_optional

Element optional container type.

◆ Spheres_traits

typedef ::xsd::cxx::tree::traits< Spheres_type, char > Molecules::Spheres_traits

Element traits type.

◆ Spheres_type

Element type.

◆ ThermostatConfig_optional

typedef ::xsd::cxx::tree::optional< ThermostatConfig_type > Molecules::ThermostatConfig_optional

Element optional container type.

◆ ThermostatConfig_traits

typedef ::xsd::cxx::tree::traits< ThermostatConfig_type, char > Molecules::ThermostatConfig_traits

Element traits type.

◆ ThermostatConfig_type

Element type.

Constructor & Destructor Documentation

◆ Molecules() [1/4]

Molecules::Molecules ( const OutputFileName_type OutputFileName,
const OutputFrequency_type OutputFrequency,
const model_type model 
)

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

◆ Molecules() [2/4]

Molecules::Molecules ( const OutputFileName_type OutputFileName,
const OutputFrequency_type OutputFrequency,
::std::unique_ptr< model_type model 
)

Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version).

This constructor will try to use the passed values directly instead of making copies.

◆ Molecules() [3/4]

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

◆ Molecules() [4/4]

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

◆ ~Molecules()

Molecules::~Molecules ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ Cuboids() [1/5]

Molecules::Cuboids_optional & Molecules::Cuboids ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ Cuboids() [2/5]

const Molecules::Cuboids_optional & Molecules::Cuboids ( ) 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:

◆ Cuboids() [3/5]

void Molecules::Cuboids ( ::std::unique_ptr< Cuboids_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.

◆ Cuboids() [4/5]

void Molecules::Cuboids ( const Cuboids_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.

◆ Cuboids() [5/5]

void Molecules::Cuboids ( const Cuboids_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.

◆ Discs() [1/5]

Molecules::Discs_optional & Molecules::Discs ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ Discs() [2/5]

const Molecules::Discs_optional & Molecules::Discs ( ) 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:

◆ Discs() [3/5]

void Molecules::Discs ( ::std::unique_ptr< Discs_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.

◆ Discs() [4/5]

void Molecules::Discs ( const Discs_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.

◆ Discs() [5/5]

void Molecules::Discs ( const Discs_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.

◆ GravityConfig() [1/5]

Molecules::GravityConfig_optional & Molecules::GravityConfig ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ GravityConfig() [2/5]

const Molecules::GravityConfig_optional & Molecules::GravityConfig ( ) 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:

◆ GravityConfig() [3/5]

void Molecules::GravityConfig ( ::std::unique_ptr< GravityConfig_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.

◆ GravityConfig() [4/5]

void Molecules::GravityConfig ( const GravityConfig_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.

◆ GravityConfig() [5/5]

void Molecules::GravityConfig ( const GravityConfig_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.

◆ Membrane() [1/5]

Molecules::Membrane_optional & Molecules::Membrane ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ Membrane() [2/5]

const Molecules::Membrane_optional & Molecules::Membrane ( ) 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:

◆ Membrane() [3/5]

void Molecules::Membrane ( ::std::unique_ptr< Membrane_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.

◆ Membrane() [4/5]

void Molecules::Membrane ( const Membrane_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.

◆ Membrane() [5/5]

void Molecules::Membrane ( const Membrane_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.

◆ model() [1/4]

Molecules::model_type & Molecules::model ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ model() [2/4]

const Molecules::model_type & Molecules::model ( ) 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:

◆ model() [3/4]

void Molecules::model ( ::std::unique_ptr< model_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.

◆ model() [4/4]

void Molecules::model ( const model_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=()

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

◆ OutputFileName() [1/4]

Molecules::OutputFileName_type & Molecules::OutputFileName ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ OutputFileName() [2/4]

const Molecules::OutputFileName_type & Molecules::OutputFileName ( ) 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:

◆ OutputFileName() [3/4]

void Molecules::OutputFileName ( ::std::unique_ptr< OutputFileName_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.

◆ OutputFileName() [4/4]

void Molecules::OutputFileName ( const OutputFileName_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.

◆ OutputFrequency() [1/4]

Molecules::OutputFrequency_type & Molecules::OutputFrequency ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ OutputFrequency() [2/4]

const Molecules::OutputFrequency_type & Molecules::OutputFrequency ( ) 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:

◆ OutputFrequency() [3/4]

void Molecules::OutputFrequency ( ::std::unique_ptr< OutputFrequency_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.

◆ OutputFrequency() [4/4]

void Molecules::OutputFrequency ( const OutputFrequency_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.

◆ ParallelizationStrategy() [1/5]

Molecules::ParallelizationStrategy_optional & Molecules::ParallelizationStrategy ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ ParallelizationStrategy() [2/5]

const Molecules::ParallelizationStrategy_optional & Molecules::ParallelizationStrategy ( ) 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:

◆ ParallelizationStrategy() [3/5]

void Molecules::ParallelizationStrategy ( ::std::unique_ptr< ParallelizationStrategy_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.

◆ ParallelizationStrategy() [4/5]

void Molecules::ParallelizationStrategy ( const ParallelizationStrategy_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.

◆ ParallelizationStrategy() [5/5]

void Molecules::ParallelizationStrategy ( const ParallelizationStrategy_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.

◆ SingleParticles() [1/5]

Molecules::SingleParticles_optional & Molecules::SingleParticles ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ SingleParticles() [2/5]

const Molecules::SingleParticles_optional & Molecules::SingleParticles ( ) 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:

◆ SingleParticles() [3/5]

void Molecules::SingleParticles ( ::std::unique_ptr< SingleParticles_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.

◆ SingleParticles() [4/5]

void Molecules::SingleParticles ( const SingleParticles_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.

◆ SingleParticles() [5/5]

void Molecules::SingleParticles ( const SingleParticles_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.

◆ Spheres() [1/5]

Molecules::Spheres_optional & Molecules::Spheres ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ Spheres() [2/5]

const Molecules::Spheres_optional & Molecules::Spheres ( ) 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:

◆ Spheres() [3/5]

void Molecules::Spheres ( ::std::unique_ptr< Spheres_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.

◆ Spheres() [4/5]

void Molecules::Spheres ( const Spheres_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.

◆ Spheres() [5/5]

void Molecules::Spheres ( const Spheres_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.

◆ ThermostatConfig() [1/5]

Molecules::ThermostatConfig_optional & Molecules::ThermostatConfig ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.

◆ ThermostatConfig() [2/5]

const Molecules::ThermostatConfig_optional & Molecules::ThermostatConfig ( ) 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:

◆ ThermostatConfig() [3/5]

void Molecules::ThermostatConfig ( ::std::unique_ptr< ThermostatConfig_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.

◆ ThermostatConfig() [4/5]

void Molecules::ThermostatConfig ( const ThermostatConfig_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.

◆ ThermostatConfig() [5/5]

void Molecules::ThermostatConfig ( const ThermostatConfig_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: