|
MolSim
|
Class corresponding to the cuboidType 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. | |
size | |
Accessor and modifier functions for the size required element. | |
| typedef ::SizeType | SizeType |
| Element type. | |
| typedef ::xsd::cxx::tree::traits< SizeType, char > | SizeTraits |
| Element traits type. | |
| const SizeType & | size () const |
| Return a read-only (constant) reference to the element. | |
| SizeType & | size () |
| Return a read-write reference to the element. | |
| void | size (const SizeType &x) |
| Set the element value. | |
| void | size (::std::unique_ptr< SizeType > p) |
| Set the element value without copying. | |
distance | |
Accessor and modifier functions for the distance required element. | |
| typedef ::xml_schema::Double | DistanceType |
| Element type. | |
| typedef ::xsd::cxx::tree::traits< DistanceType, char, ::xsd::cxx::tree::schema_type::double_ > | DistanceTraits |
| Element traits type. | |
| const DistanceType & | distance () const |
| Return a read-only (constant) reference to the element. | |
| DistanceType & | distance () |
| Return a read-write reference to the element. | |
| void | distance (const DistanceType &x) |
| Set the element value. | |
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. | |
Constructors | |
| CuboidType (const PositionType &, const VelocityType &, const SizeType &, const DistanceType &, const MassType &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes. | |
| CuboidType (::std::unique_ptr< PositionType >, ::std::unique_ptr< VelocityType >, ::std::unique_ptr< SizeType >, const DistanceType &, const MassType &) | |
| Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). | |
| CuboidType (const ::xercesc::DOMElement &e, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0) | |
| Create an instance from a DOM element. | |
| CuboidType (const CuboidType &x, ::xml_schema::Flags f=0, ::xml_schema::Container *c=0) | |
| Copy constructor. | |
| virtual CuboidType * | _clone (::xml_schema::Flags f=0, ::xml_schema::Container *c=0) const |
| Copy the instance polymorphically. | |
| CuboidType & | operator= (const CuboidType &x) |
| Copy assignment operator. | |
| virtual | ~CuboidType () |
| Destructor. | |
Class corresponding to the cuboidType schema type.
| typedef ::xsd::cxx::tree::traits<DistanceType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::DistanceTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<EpsilonType> CuboidType::EpsilonOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<EpsilonType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::EpsilonTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<MassType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::MassTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<PositionType, char> CuboidType::PositionTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::optional<SigmaType> CuboidType::SigmaOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<SigmaType, char, ::xsd::cxx::tree::schema_type::double_> CuboidType::SigmaTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<SizeType, char> CuboidType::SizeTraits |
Element traits type.
| typedef ::SizeType CuboidType::SizeType |
Element type.
| typedef ::xsd::cxx::tree::optional<TypeType> CuboidType::TypeOptional |
Element optional container type.
| typedef ::xsd::cxx::tree::traits<TypeType, char> CuboidType::TypeTraits |
Element traits type.
Element type.
| typedef ::xsd::cxx::tree::traits<VelocityType, char> CuboidType::VelocityTraits |
Element traits type.
Element type.
| CuboidType::CuboidType | ( | const PositionType & | , |
| const VelocityType & | , | ||
| const SizeType & | , | ||
| const DistanceType & | , | ||
| const MassType & | |||
| ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
| CuboidType::CuboidType | ( | ::std::unique_ptr< PositionType > | , |
| ::std::unique_ptr< VelocityType > | , | ||
| ::std::unique_ptr< SizeType > | , | ||
| const DistanceType & | , | ||
| 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.
| CuboidType::CuboidType | ( | 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. |
| CuboidType::CuboidType | ( | const CuboidType & | 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.
| DistanceType & CuboidType::distance | ( | ) |
Return a read-write reference to the element.
| const DistanceType & CuboidType::distance | ( | ) | const |
Return a read-only (constant) reference to the element.
| void CuboidType::distance | ( | const DistanceType & | 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 & CuboidType::epsilon | ( | ) |
Return a read-write reference to the element container.
| const EpsilonOptional & CuboidType::epsilon | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void CuboidType::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 CuboidType::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.
| MassType & CuboidType::mass | ( | ) |
Return a read-write reference to the element.
| const MassType & CuboidType::mass | ( | ) | const |
Return a read-only (constant) reference to the element.
| void CuboidType::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.
| CuboidType & CuboidType::operator= | ( | const CuboidType & | x | ) |
Copy assignment operator.
| x | An instance to make a copy of. |
For polymorphic object models use the _clone function instead.
| PositionType & CuboidType::position | ( | ) |
Return a read-write reference to the element.
| const PositionType & CuboidType::position | ( | ) | const |
Return a read-only (constant) reference to the element.
| void CuboidType::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 CuboidType::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 & CuboidType::sigma | ( | ) |
Return a read-write reference to the element container.
| const SigmaOptional & CuboidType::sigma | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void CuboidType::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 CuboidType::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.
| SizeType & CuboidType::size | ( | ) |
Return a read-write reference to the element.
| const SizeType & CuboidType::size | ( | ) | const |
Return a read-only (constant) reference to the element.
| void CuboidType::size | ( | ::std::unique_ptr< SizeType > | 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 CuboidType::size | ( | const SizeType & | 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 & CuboidType::type | ( | ) |
Return a read-write reference to the element container.
| const TypeOptional & CuboidType::type | ( | ) | const |
Return a read-only (constant) reference to the element container.
| void CuboidType::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 CuboidType::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 & CuboidType::velocity | ( | ) |
Return a read-write reference to the element.
| const VelocityType & CuboidType::velocity | ( | ) | const |
Return a read-only (constant) reference to the element.
| void CuboidType::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 CuboidType::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.