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

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

#include <ConfigurationFile.h>

Inheritance diagram for Discs:
Inheritance graph
Collaboration diagram for Discs:
Collaboration graph

Size

Accessor and modifier functions for the Size required element.

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

Disc

Accessor and modifier functions for the Disc sequence element.

typedef ::Disc Disc_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Disc_typeDisc_sequence
 Element sequence container type. More...
 
typedef Disc_sequence::iterator Disc_iterator
 Element iterator type. More...
 
typedef Disc_sequence::const_iterator Disc_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Disc_type, char > Disc_traits
 Element traits type. More...
 
const Disc_sequenceDisc () const
 Return a read-only (constant) reference to the element sequence. More...
 
Disc_sequenceDisc ()
 Return a read-write reference to the element sequence. More...
 
void Disc (const Disc_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

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

Detailed Description

Class corresponding to the Discs schema type.

Member Typedef Documentation

◆ Disc_const_iterator

typedef Disc_sequence::const_iterator Discs::Disc_const_iterator

Element constant iterator type.

◆ Disc_iterator

typedef Disc_sequence::iterator Discs::Disc_iterator

Element iterator type.

◆ Disc_sequence

typedef ::xsd::cxx::tree::sequence< Disc_type > Discs::Disc_sequence

Element sequence container type.

◆ Disc_traits

typedef ::xsd::cxx::tree::traits< Disc_type, char > Discs::Disc_traits

Element traits type.

◆ Disc_type

Element type.

◆ Size_traits

typedef ::xsd::cxx::tree::traits< Size_type, char > Discs::Size_traits

Element traits type.

◆ Size_type

Element type.

Constructor & Destructor Documentation

◆ Discs() [1/3]

Discs::Discs ( const Size_type Size)

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

◆ Discs() [2/3]

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

◆ Discs() [3/3]

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

◆ ~Discs()

Discs::~Discs ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

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

◆ Disc() [1/3]

Discs::Disc_sequence & Discs::Disc ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.

◆ Disc() [2/3]

const Discs::Disc_sequence & Discs::Disc ( ) const

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

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

◆ Disc() [3/3]

void Discs::Disc ( const Disc_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.

◆ operator=()

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

◆ Size() [1/4]

Discs::Size_type & Discs::Size ( )

Return a read-write reference to the element.

Returns
A reference to the element.

◆ Size() [2/4]

const Discs::Size_type & Discs::Size ( ) 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:

◆ Size() [3/4]

void Discs::Size ( ::std::unique_ptr< Size_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.

◆ Size() [4/4]

void Discs::Size ( const Size_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: