|
MolSim
|
Class corresponding to the particleType schema type. More...
#include <SimulationXSD.h>
position | |
Accessor and modifier functions for the position required element. | |
| typedef ::PositionType | PositionType |
| Element type. | |
| typedef ::xsd::cxx::tree::traits< PositionType, char > | PositionTraits |
| Element traits type. | |
| const PositionType & | position () const |
| Return a read-only (constant) reference to the element. | |
| PositionType & | position () |
| Return a read-write reference to the element. | |
| void | position (const PositionType &x) |
| Set the element value. | |
| void | position (::std::unique_ptr< PositionType > p) |
| Set the element value without copying. | |
velocity | |
Accessor and modifier functions for the velocity required element. | |
| typedef ::VelocityType | VelocityType |
| Element type. | |
| typedef ::xsd::cxx::tree::traits< VelocityType, char > | VelocityTraits |
| Element traits type. | |
| const VelocityType & | velocity () const |
| Return a read-only (constant) reference to the element. | |
| VelocityType & | velocity () |
| Return a read-write reference to the element. | |
| void | velocity (const VelocityType &x) |
| Set the element value. | |
| void | velocity (::std::unique_ptr< VelocityType > p) |
| Set the element value without copying. | |
force | |
Accessor and modifier functions for the force optional element. | |
| typedef ::ForceType | ForceType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< ForceType > | ForceOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< ForceType, char > | ForceTraits |
| Element traits type. | |
| const ForceOptional & | force () const |
| Return a read-only (constant) reference to the element container. | |
| ForceOptional & | force () |
| Return a read-write reference to the element container. | |
| void | force (const ForceType &x) |
| Set the element value. | |
| void | force (const ForceOptional &x) |
| Set the element value. | |
| void | force (::std::unique_ptr< ForceType > p) |
| Set the element value without copying. | |
oldForce | |
Accessor and modifier functions for the oldForce optional element. | |
| typedef ::ForceType | OldForceType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< OldForceType > | OldForceOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< OldForceType, char > | OldForceTraits |
| Element traits type. | |
| const OldForceOptional & | oldForce () const |
| Return a read-only (constant) reference to the element container. | |
| OldForceOptional & | oldForce () |
| Return a read-write reference to the element container. | |
| void | oldForce (const OldForceType &x) |
| Set the element value. | |
| void | oldForce (const OldForceOptional &x) |
| Set the element value. | |
| void | oldForce (::std::unique_ptr< OldForceType > p) |
| Set the element value without copying. | |
mass | |
Accessor and modifier functions for the mass required element. | |
| typedef ::xml_schema::Double | MassType |
| Element type. | |
| typedef ::xsd::cxx::tree::traits< MassType, char, ::xsd::cxx::tree::schema_type::double_ > | MassTraits |
| Element traits type. | |
| const MassType & | mass () const |
| Return a read-only (constant) reference to the element. | |
| MassType & | mass () |
| Return a read-write reference to the element. | |
| void | mass (const MassType &x) |
| Set the element value. | |
type | |
Accessor and modifier functions for the type optional element. | |
| typedef ::xml_schema::Int | TypeType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< TypeType > | TypeOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< TypeType, char > | TypeTraits |
| Element traits type. | |
| const TypeOptional & | type () const |
| Return a read-only (constant) reference to the element container. | |
| TypeOptional & | type () |
| Return a read-write reference to the element container. | |
| void | type (const TypeType &x) |
| Set the element value. | |
| void | type (const TypeOptional &x) |
| Set the element value. | |
epsilon | |
Accessor and modifier functions for the epsilon optional element. | |
| typedef ::xml_schema::Double | EpsilonType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< EpsilonType > | EpsilonOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< EpsilonType, char, ::xsd::cxx::tree::schema_type::double_ > | EpsilonTraits |
| Element traits type. | |
| const EpsilonOptional & | epsilon () const |
| Return a read-only (constant) reference to the element container. | |
| EpsilonOptional & | epsilon () |
| Return a read-write reference to the element container. | |
| void | epsilon (const EpsilonType &x) |
| Set the element value. | |
| void | epsilon (const EpsilonOptional &x) |
| Set the element value. | |
sigma | |
Accessor and modifier functions for the sigma optional element. | |
| typedef ::xml_schema::Double | SigmaType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< SigmaType > | SigmaOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< SigmaType, char, ::xsd::cxx::tree::schema_type::double_ > | SigmaTraits |
| Element traits type. | |
| const SigmaOptional & | sigma () const |
| Return a read-only (constant) reference to the element container. | |
| SigmaOptional & | sigma () |
| Return a read-write reference to the element container. | |
| void | sigma (const SigmaType &x) |
| Set the element value. | |
| void | sigma (const SigmaOptional &x) |
| Set the element value. | |
cellIndex | |
Accessor and modifier functions for the cellIndex optional element. | |
| typedef ::xml_schema::Int | CellIndexType |
| Element type. | |
| typedef ::xsd::cxx::tree::optional< CellIndexType > | CellIndexOptional |
| Element optional container type. | |
| typedef ::xsd::cxx::tree::traits< CellIndexType, char > | CellIndexTraits |
| Element traits type. | |
| const CellIndexOptional & | cellIndex () const |
| Return a read-only (constant) reference to the element container. | |
| CellIndexOptional & | cellIndex () |
| Return a read-write reference to the element container. | |
| void | cellIndex (const CellIndexType &x) |
| Set the element value. | |
| void | cellIndex (const CellIndexOptional &x) |
| Set the element value. | |
Constructors | |
| ParticleType (const PositionType &, const VelocityType &, const MassType &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes. | |
| ParticleType (::std::unique_ptr< PositionType >, ::std::unique_ptr< VelocityType >, const MassType &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). | |
| ParticleType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0) | |
| Create an instance from a DOM element. | |
| ParticleType (const ParticleType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0) | |
| Copy constructor. | |
| virtual ParticleType * | _clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const |
| Copy the instance polymorphically. | |
| ParticleType & | operator= (const ParticleType &x) |
| Copy assignment operator. | |
| virtual | ~ParticleType () |
| Destructor. | |
Class corresponding to the particleType schema type.
| typedef ::xsd::cxx::tree::optional<CellIndexType> ParticleType::CellIndexOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<CellIndexType, char> ParticleType::CellIndexTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<EpsilonType> ParticleType::EpsilonOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<EpsilonType, char, ::xsd::cxx::tree::schema_type::double_> ParticleType::EpsilonTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<ForceType> ParticleType::ForceOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<ForceType, char> ParticleType::ForceTraits |
Element traits type.
| typedef ::ForceType ParticleType::ForceType |
Element type.
| typedef ::xsd::cxx::tree::traits<MassType, char, ::xsd::cxx::tree::schema_type::double_> ParticleType::MassTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<OldForceType> ParticleType::OldForceOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<OldForceType, char> ParticleType::OldForceTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<PositionType, char> ParticleType::PositionTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<SigmaType> ParticleType::SigmaOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<SigmaType, char, ::xsd::cxx::tree::schema_type::double_> ParticleType::SigmaTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<TypeType> ParticleType::TypeOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<TypeType, char> ParticleType::TypeTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<VelocityType, char> ParticleType::VelocityTraits |
Element traits type.
Element type.
| ParticleType::ParticleType | ( | const PositionType & | , |
| const VelocityType & | , | ||
| const MassType & | |||
| ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
| ParticleType::ParticleType | ( | ::std::unique_ptr< PositionType > | , |
| ::std::unique_ptr< VelocityType > | , | ||
| const MassType & | |||
| ) |
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.
| ParticleType::ParticleType | ( | const ::xercesc::DOMElement & | e, |
| ::xml_schema::Flags | f = 0, |
||
| ::xml_schema::Container * | c = 0 |
||
| ) |
Create an instance from a DOM element.
| e | A DOM element to extract the data from. |
| f | Flags to create the new instance with. |
| c | A pointer to the object that will contain the new instance. |
| ParticleType::ParticleType | ( | const ParticleType & | x, |
| ::xml_schema::Flags | f = 0, |
||
| ::xml_schema::Container * | c = 0 |
||
| ) |
Copy constructor.
| x | An instance to make a copy of. |
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the copy. |
For polymorphic object models use the _clone function instead.
|
virtual |
Destructor.
|
virtual |
Copy the instance polymorphically.
| f | Flags to create the copy with. |
| c | A pointer to the object that will contain the 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.
| CellIndexOptional & ParticleType::cellIndex | ( | ) |
Return a read-write reference to the element container.
| const CellIndexOptional & ParticleType::cellIndex | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::cellIndex | ( | const CellIndexOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::cellIndex | ( | const CellIndexType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| EpsilonOptional & ParticleType::epsilon | ( | ) |
Return a read-write reference to the element container.
| const EpsilonOptional & ParticleType::epsilon | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::epsilon | ( | const EpsilonOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::epsilon | ( | const EpsilonType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| ForceOptional & ParticleType::force | ( | ) |
Return a read-write reference to the element container.
| const ForceOptional & ParticleType::force | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::force | ( | ::std::unique_ptr< ForceType > | p | ) |
Set the element value without copying.
| p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
| void ParticleType::force | ( | const ForceOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::force | ( | const ForceType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| MassType & ParticleType::mass | ( | ) |
Return a read-write reference to the element.
| const MassType & ParticleType::mass | ( | ) | const |
Return a read-only (constant) reference to the element.
| void ParticleType::mass | ( | const MassType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| OldForceOptional & ParticleType::oldForce | ( | ) |
Return a read-write reference to the element container.
| const OldForceOptional & ParticleType::oldForce | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::oldForce | ( | ::std::unique_ptr< OldForceType > | p | ) |
Set the element value without copying.
| p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
| void ParticleType::oldForce | ( | const OldForceOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::oldForce | ( | const OldForceType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| ParticleType & ParticleType::operator= | ( | const ParticleType & | x | ) |
Copy assignment operator.
| x | An instance to make a copy of. |
For polymorphic object models use the _clone function instead.
| PositionType & ParticleType::position | ( | ) |
Return a read-write reference to the element.
| const PositionType & ParticleType::position | ( | ) | const |
Return a read-only (constant) reference to the element.
| void ParticleType::position | ( | ::std::unique_ptr< PositionType > | p | ) |
Set the element value without copying.
| p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
| void ParticleType::position | ( | const PositionType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| SigmaOptional & ParticleType::sigma | ( | ) |
Return a read-write reference to the element container.
| const SigmaOptional & ParticleType::sigma | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::sigma | ( | const SigmaOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::sigma | ( | const SigmaType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| TypeOptional & ParticleType::type | ( | ) |
Return a read-write reference to the element container.
| const TypeOptional & ParticleType::type | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void ParticleType::type | ( | const TypeOptional & | x | ) |
Set the element value.
| x | An 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.
| void ParticleType::type | ( | const TypeType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.
| VelocityType & ParticleType::velocity | ( | ) |
Return a read-write reference to the element.
| const VelocityType & ParticleType::velocity | ( | ) | const |
Return a read-only (constant) reference to the element.
| void ParticleType::velocity | ( | ::std::unique_ptr< VelocityType > | p | ) |
Set the element value without copying.
| p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
| void ParticleType::velocity | ( | const VelocityType & | x | ) |
Set the element value.
| x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the element.