Class corresponding to the ScenarioData schema type. More...
#include <Scenario.hxx>
Public Member Functions | |
virtual | ~ScenarioData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::ObjectData | |
virtual | ~ObjectData () |
Destructor. More... | |
const contentVersion_optional & | contentVersion () const |
Return a read-only (constant) reference to the attribute container. More... | |
contentVersion_optional & | contentVersion () |
Return a read-write reference to the attribute container. More... | |
void | contentVersion (const contentVersion_type &x) |
Set the attribute value. More... | |
void | contentVersion (const contentVersion_optional &x) |
Set the attribute value. More... | |
void | contentVersion (::std::unique_ptr< contentVersion_type > p) |
Set the attribute value without copying. More... | |
ObjectData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ObjectData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ObjectData (const ObjectData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ObjectData & | operator= (const ObjectData &x) |
Copy assignment operator. More... | |
Name | |
Accessor and modifier functions for the Name optional element. | |
typedef ::xml_schema::string | Name_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Name_type > | Name_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Name_type, char > | Name_traits |
Element traits type. More... | |
const Name_optional & | Name () const |
Return a read-only (constant) reference to the element container. More... | |
Name_optional & | Name () |
Return a read-write reference to the element container. More... | |
void | Name (const Name_type &x) |
Set the element value. More... | |
void | Name (const Name_optional &x) |
Set the element value. More... | |
void | Name (::std::unique_ptr< Name_type > p) |
Set the element value without copying. More... | |
Description | |
Accessor and modifier functions for the Description optional element. | |
typedef ::xml_schema::string | Description_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Description_type > | Description_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Description_type, char > | Description_traits |
Element traits type. More... | |
const Description_optional & | Description () const |
Return a read-only (constant) reference to the element container. More... | |
Description_optional & | Description () |
Return a read-write reference to the element container. More... | |
void | Description (const Description_type &x) |
Set the element value. More... | |
void | Description (const Description_optional &x) |
Set the element value. More... | |
void | Description (::std::unique_ptr< Description_type > p) |
Set the element value without copying. More... | |
EngineStateFile | |
Accessor and modifier functions for the EngineStateFile optional element. | |
typedef ::xml_schema::string | EngineStateFile_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< EngineStateFile_type > | EngineStateFile_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< EngineStateFile_type, char > | EngineStateFile_traits |
Element traits type. More... | |
const EngineStateFile_optional & | EngineStateFile () const |
Return a read-only (constant) reference to the element container. More... | |
EngineStateFile_optional & | EngineStateFile () |
Return a read-write reference to the element container. More... | |
void | EngineStateFile (const EngineStateFile_type &x) |
Set the element value. More... | |
void | EngineStateFile (const EngineStateFile_optional &x) |
Set the element value. More... | |
void | EngineStateFile (::std::unique_ptr< EngineStateFile_type > p) |
Set the element value without copying. More... | |
InitialParameters | |
Accessor and modifier functions for the InitialParameters optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScenarioInitialParametersData | InitialParameters_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< InitialParameters_type > | InitialParameters_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< InitialParameters_type, char > | InitialParameters_traits |
Element traits type. More... | |
const InitialParameters_optional & | InitialParameters () const |
Return a read-only (constant) reference to the element container. More... | |
InitialParameters_optional & | InitialParameters () |
Return a read-write reference to the element container. More... | |
void | InitialParameters (const InitialParameters_type &x) |
Set the element value. More... | |
void | InitialParameters (const InitialParameters_optional &x) |
Set the element value. More... | |
void | InitialParameters (::std::unique_ptr< InitialParameters_type > p) |
Set the element value without copying. More... | |
AutoSerialization | |
Accessor and modifier functions for the AutoSerialization optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData | AutoSerialization_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< AutoSerialization_type > | AutoSerialization_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< AutoSerialization_type, char > | AutoSerialization_traits |
Element traits type. More... | |
const AutoSerialization_optional & | AutoSerialization () const |
Return a read-only (constant) reference to the element container. More... | |
AutoSerialization_optional & | AutoSerialization () |
Return a read-write reference to the element container. More... | |
void | AutoSerialization (const AutoSerialization_type &x) |
Set the element value. More... | |
void | AutoSerialization (const AutoSerialization_optional &x) |
Set the element value. More... | |
void | AutoSerialization (::std::unique_ptr< AutoSerialization_type > p) |
Set the element value without copying. More... | |
DataRequests | |
Accessor and modifier functions for the DataRequests optional element. | |
typedef ::mil::tatrc::physiology::datamodel::DataRequestsData | DataRequests_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< DataRequests_type > | DataRequests_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< DataRequests_type, char > | DataRequests_traits |
Element traits type. More... | |
const DataRequests_optional & | DataRequests () const |
Return a read-only (constant) reference to the element container. More... | |
DataRequests_optional & | DataRequests () |
Return a read-write reference to the element container. More... | |
void | DataRequests (const DataRequests_type &x) |
Set the element value. More... | |
void | DataRequests (const DataRequests_optional &x) |
Set the element value. More... | |
void | DataRequests (::std::unique_ptr< DataRequests_type > p) |
Set the element value without copying. More... | |
Action | |
Accessor and modifier functions for the Action sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::ActionData | Action_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Action_type > | Action_sequence |
Element sequence container type. More... | |
typedef Action_sequence::iterator | Action_iterator |
Element iterator type. More... | |
typedef Action_sequence::const_iterator | Action_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Action_type, char > | Action_traits |
Element traits type. More... | |
const Action_sequence & | Action () const |
Return a read-only (constant) reference to the element sequence. More... | |
Action_sequence & | Action () |
Return a read-write reference to the element sequence. More... | |
void | Action (const Action_sequence &s) |
Copy elements from a given sequence. More... | |
Constructors | |
ScenarioData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ScenarioData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ScenarioData (const ScenarioData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ScenarioData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ScenarioData & | operator= (const ScenarioData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::ObjectData | |
typedef ::xml_schema::string | contentVersion_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< contentVersion_type > | contentVersion_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< contentVersion_type, char > | contentVersion_traits |
Attribute traits type. More... | |
Detailed Description
Class corresponding to the ScenarioData schema type.
Member Typedef Documentation
typedef Action_sequence::const_iterator mil::tatrc::physiology::datamodel::ScenarioData::Action_const_iterator |
Element constant iterator type.
typedef Action_sequence::iterator mil::tatrc::physiology::datamodel::ScenarioData::Action_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< Action_type > mil::tatrc::physiology::datamodel::ScenarioData::Action_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< Action_type, char > mil::tatrc::physiology::datamodel::ScenarioData::Action_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ActionData mil::tatrc::physiology::datamodel::ScenarioData::Action_type |
Element type.
typedef ::xsd::cxx::tree::optional< AutoSerialization_type > mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< AutoSerialization_type, char > mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScenarioAutoSerializationData mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization_type |
Element type.
typedef ::xsd::cxx::tree::optional< DataRequests_type > mil::tatrc::physiology::datamodel::ScenarioData::DataRequests_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< DataRequests_type, char > mil::tatrc::physiology::datamodel::ScenarioData::DataRequests_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::DataRequestsData mil::tatrc::physiology::datamodel::ScenarioData::DataRequests_type |
Element type.
typedef ::xsd::cxx::tree::optional< Description_type > mil::tatrc::physiology::datamodel::ScenarioData::Description_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Description_type, char > mil::tatrc::physiology::datamodel::ScenarioData::Description_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::optional< EngineStateFile_type > mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< EngineStateFile_type, char > mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::optional< InitialParameters_type > mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< InitialParameters_type, char > mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScenarioInitialParametersData mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters_type |
Element type.
typedef ::xsd::cxx::tree::optional< Name_type > mil::tatrc::physiology::datamodel::ScenarioData::Name_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Name_type, char > mil::tatrc::physiology::datamodel::ScenarioData::Name_traits |
Element traits type.
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData | ( | const ::xercesc::DOMElement & | e, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM element.
- Parameters
-
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.
mil::tatrc::physiology::datamodel::ScenarioData::ScenarioData | ( | const ScenarioData & | x, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Copy constructor.
- Parameters
-
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.
Member Function Documentation
|
virtual |
Copy the instance polymorphically.
- Parameters
-
f Flags to create the copy with. c A 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.
Reimplemented from mil::tatrc::physiology::datamodel::ObjectData.
const ScenarioData::Action_sequence & mil::tatrc::physiology::datamodel::ScenarioData::Action | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
ScenarioData::Action_sequence & mil::tatrc::physiology::datamodel::ScenarioData::Action | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::ScenarioData::Action | ( | const Action_sequence & | s | ) |
Copy elements from a given sequence.
- Parameters
-
s A 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.
const ScenarioData::AutoSerialization_optional & mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::AutoSerialization_optional & mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization | ( | const AutoSerialization_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization | ( | const AutoSerialization_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::AutoSerialization | ( | ::std::unique_ptr< AutoSerialization_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const ScenarioData::DataRequests_optional & mil::tatrc::physiology::datamodel::ScenarioData::DataRequests | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::DataRequests_optional & mil::tatrc::physiology::datamodel::ScenarioData::DataRequests | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::DataRequests | ( | const DataRequests_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::DataRequests | ( | const DataRequests_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::DataRequests | ( | ::std::unique_ptr< DataRequests_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const ScenarioData::Description_optional & mil::tatrc::physiology::datamodel::ScenarioData::Description | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::Description_optional & mil::tatrc::physiology::datamodel::ScenarioData::Description | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::Description | ( | const Description_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::Description | ( | const Description_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::Description | ( | ::std::unique_ptr< Description_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const ScenarioData::EngineStateFile_optional & mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::EngineStateFile_optional & mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile | ( | const EngineStateFile_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile | ( | const EngineStateFile_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::EngineStateFile | ( | ::std::unique_ptr< EngineStateFile_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const ScenarioData::InitialParameters_optional & mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::InitialParameters_optional & mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters | ( | const InitialParameters_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters | ( | const InitialParameters_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::InitialParameters | ( | ::std::unique_ptr< InitialParameters_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const ScenarioData::Name_optional & mil::tatrc::physiology::datamodel::ScenarioData::Name | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ScenarioData::Name_optional & mil::tatrc::physiology::datamodel::ScenarioData::Name | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ScenarioData::Name | ( | const Name_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::ScenarioData::Name | ( | const Name_optional & | x | ) |
Set the element value.
- Parameters
-
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 mil::tatrc::physiology::datamodel::ScenarioData::Name | ( | ::std::unique_ptr< Name_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
ScenarioData & mil::tatrc::physiology::datamodel::ScenarioData::operator= | ( | const ScenarioData & | x | ) |
Copy assignment operator.
- Parameters
-
x An instance to make a copy of.
- Returns
- A reference to itself.
For polymorphic object models use the _clone
function instead.