Class corresponding to the ActionData schema type. More...
#include <Scenario.hxx>
Public Member Functions | |
virtual | ~ActionData () |
Destructor. More... | |
Comment | |
Accessor and modifier functions for the Comment optional element. | |
typedef ::xml_schema::string | Comment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Comment_type > | Comment_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Comment_type, char > | Comment_traits |
Element traits type. More... | |
const Comment_optional & | Comment () const |
Return a read-only (constant) reference to the element container. More... | |
Comment_optional & | Comment () |
Return a read-write reference to the element container. More... | |
void | Comment (const Comment_type &x) |
Set the element value. More... | |
void | Comment (const Comment_optional &x) |
Set the element value. More... | |
void | Comment (::std::unique_ptr< Comment_type > p) |
Set the element value without copying. More... | |
Occurs | |
Accessor and modifier functions for the Occurs optional element. | |
typedef ::xml_schema::double_ | Occurs_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Occurs_type > | Occurs_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Occurs_type, char,::xsd::cxx::tree::schema_type::double_ > | Occurs_traits |
Element traits type. More... | |
const Occurs_optional & | Occurs () const |
Return a read-only (constant) reference to the element container. More... | |
Occurs_optional & | Occurs () |
Return a read-write reference to the element container. More... | |
void | Occurs (const Occurs_type &x) |
Set the element value. More... | |
void | Occurs (const Occurs_optional &x) |
Set the element value. More... | |
Duration | |
Accessor and modifier functions for the Duration optional element. | |
typedef ::xml_schema::double_ | Duration_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Duration_type > | Duration_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Duration_type, char,::xsd::cxx::tree::schema_type::double_ > | Duration_traits |
Element traits type. More... | |
const Duration_optional & | Duration () const |
Return a read-only (constant) reference to the element container. More... | |
Duration_optional & | Duration () |
Return a read-write reference to the element container. More... | |
void | Duration (const Duration_type &x) |
Set the element value. More... | |
void | Duration (const Duration_optional &x) |
Set the element value. More... | |
Constructors | |
ActionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ActionData (const ActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ActionData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ActionData & | operator= (const ActionData &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the ActionData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< Comment_type > mil::tatrc::physiology::datamodel::ActionData::Comment_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Comment_type, char > mil::tatrc::physiology::datamodel::ActionData::Comment_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::optional< Duration_type > mil::tatrc::physiology::datamodel::ActionData::Duration_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Duration_type, char, ::xsd::cxx::tree::schema_type::double_ > mil::tatrc::physiology::datamodel::ActionData::Duration_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::optional< Occurs_type > mil::tatrc::physiology::datamodel::ActionData::Occurs_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Occurs_type, char, ::xsd::cxx::tree::schema_type::double_ > mil::tatrc::physiology::datamodel::ActionData::Occurs_traits |
Element traits type.
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ActionData::ActionData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ActionData::ActionData | ( | 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::ActionData::ActionData | ( | const ActionData & | 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 in mil::tatrc::physiology::datamodel::OverrideData, mil::tatrc::physiology::datamodel::UrinateData, mil::tatrc::physiology::datamodel::TourniquetData, mil::tatrc::physiology::datamodel::SubstanceOralDoseData, mil::tatrc::physiology::datamodel::SubstanceNasalDoseData, mil::tatrc::physiology::datamodel::SubstanceInfusionData, mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData, mil::tatrc::physiology::datamodel::SubstanceBolusData, mil::tatrc::physiology::datamodel::SubstanceAdministrationData, mil::tatrc::physiology::datamodel::SleepData, mil::tatrc::physiology::datamodel::TensionPneumothoraxData, mil::tatrc::physiology::datamodel::PericardialEffusionData, mil::tatrc::physiology::datamodel::PainStimulusData, mil::tatrc::physiology::datamodel::NeedleDecompressionData, mil::tatrc::physiology::datamodel::MechanicalVentilationData, mil::tatrc::physiology::datamodel::IntubationData, mil::tatrc::physiology::datamodel::InfectionData, mil::tatrc::physiology::datamodel::HemorrhageData, mil::tatrc::physiology::datamodel::ExerciseData, mil::tatrc::physiology::datamodel::StrengthExerciseData, mil::tatrc::physiology::datamodel::CyclingExerciseData, mil::tatrc::physiology::datamodel::SerializeStateData, mil::tatrc::physiology::datamodel::RunningExerciseData, mil::tatrc::physiology::datamodel::AdvanceTimeData, mil::tatrc::physiology::datamodel::GenericExerciseData, mil::tatrc::physiology::datamodel::ConsumeNutrientsData, mil::tatrc::physiology::datamodel::ConsciousRespirationData, mil::tatrc::physiology::datamodel::ChestOcclusiveDressingData, mil::tatrc::physiology::datamodel::ChestCompressionForceScaleData, mil::tatrc::physiology::datamodel::ChestCompressionForceData, mil::tatrc::physiology::datamodel::OxygenTankPressureLossData, mil::tatrc::physiology::datamodel::ChestCompressionData, mil::tatrc::physiology::datamodel::OxygenWallPortPressureLossData, mil::tatrc::physiology::datamodel::CardiacArrestData, mil::tatrc::physiology::datamodel::YPieceDisconnectData, mil::tatrc::physiology::datamodel::BurnWoundData, mil::tatrc::physiology::datamodel::VentilatorPressureLossData, mil::tatrc::physiology::datamodel::BronchoconstrictionData, mil::tatrc::physiology::datamodel::VaporizerFailureData, mil::tatrc::physiology::datamodel::BrainInjuryData, mil::tatrc::physiology::datamodel::TubeCuffLeakData, mil::tatrc::physiology::datamodel::SodaLimeFailureData, mil::tatrc::physiology::datamodel::AsthmaAttackData, mil::tatrc::physiology::datamodel::MaskLeakData, mil::tatrc::physiology::datamodel::ApneaData, mil::tatrc::physiology::datamodel::InspiratoryValveObstructionData, mil::tatrc::physiology::datamodel::AirwayObstructionData, mil::tatrc::physiology::datamodel::InspiratoryValveLeakData, mil::tatrc::physiology::datamodel::AcuteStressData, mil::tatrc::physiology::datamodel::ThermalApplicationData, mil::tatrc::physiology::datamodel::ExpiratoryValveObstructionData, mil::tatrc::physiology::datamodel::AcuteRespiratoryDistressData, mil::tatrc::physiology::datamodel::ExpiratoryValveLeakData, mil::tatrc::physiology::datamodel::PatientAssessmentRequestData, mil::tatrc::physiology::datamodel::AnesthesiaMachineConfigurationData, mil::tatrc::physiology::datamodel::EnvironmentChangeData, mil::tatrc::physiology::datamodel::InhalerConfigurationData, mil::tatrc::physiology::datamodel::PatientActionData, mil::tatrc::physiology::datamodel::AnesthesiaMachineActionData, mil::tatrc::physiology::datamodel::EnvironmentActionData, and mil::tatrc::physiology::datamodel::InhalerActionData.
const ActionData::Comment_optional & mil::tatrc::physiology::datamodel::ActionData::Comment | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ActionData::Comment_optional & mil::tatrc::physiology::datamodel::ActionData::Comment | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ActionData::Comment | ( | const Comment_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::ActionData::Comment | ( | const Comment_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::ActionData::Comment | ( | ::std::unique_ptr< Comment_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 ActionData::Duration_optional & mil::tatrc::physiology::datamodel::ActionData::Duration | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ActionData::Duration_optional & mil::tatrc::physiology::datamodel::ActionData::Duration | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ActionData::Duration | ( | const Duration_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::ActionData::Duration | ( | const Duration_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.
const ActionData::Occurs_optional & mil::tatrc::physiology::datamodel::ActionData::Occurs | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ActionData::Occurs_optional & mil::tatrc::physiology::datamodel::ActionData::Occurs | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ActionData::Occurs | ( | const Occurs_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::ActionData::Occurs | ( | const Occurs_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.
ActionData & mil::tatrc::physiology::datamodel::ActionData::operator= | ( | const ActionData & | 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.