Class corresponding to the InfectionData schema type. More...
#include <PatientActions.hxx>

Public Member Functions | |
virtual | ~InfectionData () |
Destructor. More... | |
![]() | |
virtual | ~PatientActionData () |
Destructor. More... | |
PatientActionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
PatientActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PatientActionData (const PatientActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
![]() | |
virtual | ~ActionData () |
Destructor. 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... | |
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... | |
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... | |
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... | |
ActionData & | operator= (const ActionData &x) |
Copy assignment operator. More... | |
MinimumInhibitoryConcentration | |
Accessor and modifier functions for the MinimumInhibitoryConcentration required element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarMassPerVolumeData | MinimumInhibitoryConcentration_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< MinimumInhibitoryConcentration_type, char > | MinimumInhibitoryConcentration_traits |
Element traits type. More... | |
const MinimumInhibitoryConcentration_type & | MinimumInhibitoryConcentration () const |
Return a read-only (constant) reference to the element. More... | |
MinimumInhibitoryConcentration_type & | MinimumInhibitoryConcentration () |
Return a read-write reference to the element. More... | |
void | MinimumInhibitoryConcentration (const MinimumInhibitoryConcentration_type &x) |
Set the element value. More... | |
void | MinimumInhibitoryConcentration (::std::unique_ptr< MinimumInhibitoryConcentration_type > p) |
Set the element value without copying. More... | |
Location | |
Accessor and modifier functions for the Location required element. | |
typedef ::xml_schema::string | Location_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Location_type, char > | Location_traits |
Element traits type. More... | |
const Location_type & | Location () const |
Return a read-only (constant) reference to the element. More... | |
Location_type & | Location () |
Return a read-write reference to the element. More... | |
void | Location (const Location_type &x) |
Set the element value. More... | |
void | Location (::std::unique_ptr< Location_type > p) |
Set the element value without copying. More... | |
Severity | |
Accessor and modifier functions for the Severity required attribute. | |
typedef ::mil::tatrc::physiology::datamodel::enumInfectionSeverity | Severity_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Severity_type, char > | Severity_traits |
Attribute traits type. More... | |
const Severity_type & | Severity () const |
Return a read-only (constant) reference to the attribute. More... | |
Severity_type & | Severity () |
Return a read-write reference to the attribute. More... | |
void | Severity (const Severity_type &x) |
Set the attribute value. More... | |
void | Severity (::std::unique_ptr< Severity_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
InfectionData () | |
Default constructor. More... | |
InfectionData (const MinimumInhibitoryConcentration_type &, const Location_type &, const Severity_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
InfectionData (::std::unique_ptr< MinimumInhibitoryConcentration_type >, const Location_type &, const Severity_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
InfectionData (::std::unique_ptr< MinimumInhibitoryConcentration_type >,::std::unique_ptr< Location_type >, const Severity_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
InfectionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
InfectionData (const InfectionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual InfectionData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
InfectionData & | operator= (const InfectionData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
![]() | |
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... | |
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... | |
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... | |
Detailed Description
Class corresponding to the InfectionData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< Location_type, char > mil::tatrc::physiology::datamodel::InfectionData::Location_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::traits< MinimumInhibitoryConcentration_type, char > mil::tatrc::physiology::datamodel::InfectionData::MinimumInhibitoryConcentration_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarMassPerVolumeData mil::tatrc::physiology::datamodel::InfectionData::MinimumInhibitoryConcentration_type |
Element type.
typedef ::xsd::cxx::tree::traits< Severity_type, char > mil::tatrc::physiology::datamodel::InfectionData::Severity_traits |
Attribute traits type.
typedef ::mil::tatrc::physiology::datamodel::enumInfectionSeverity mil::tatrc::physiology::datamodel::InfectionData::Severity_type |
Attribute type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::InfectionData::InfectionData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::InfectionData::InfectionData | ( | const MinimumInhibitoryConcentration_type & | MinimumInhibitoryConcentration, |
const Location_type & | Location, | ||
const Severity_type & | Severity | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::InfectionData::InfectionData | ( | ::std::unique_ptr< MinimumInhibitoryConcentration_type > | MinimumInhibitoryConcentration, |
const Location_type & | Location, | ||
const Severity_type & | Severity | ||
) |
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.
mil::tatrc::physiology::datamodel::InfectionData::InfectionData | ( | ::std::unique_ptr< MinimumInhibitoryConcentration_type > | MinimumInhibitoryConcentration, |
::std::unique_ptr< Location_type > | Location, | ||
const Severity_type & | Severity | ||
) |
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.
mil::tatrc::physiology::datamodel::InfectionData::InfectionData | ( | 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::InfectionData::InfectionData | ( | const InfectionData & | 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::PatientActionData.
const InfectionData::Location_type & mil::tatrc::physiology::datamodel::InfectionData::Location | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
InfectionData::Location_type & mil::tatrc::physiology::datamodel::InfectionData::Location | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::InfectionData::Location | ( | const Location_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::InfectionData::Location | ( | ::std::unique_ptr< Location_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 InfectionData::MinimumInhibitoryConcentration_type & mil::tatrc::physiology::datamodel::InfectionData::MinimumInhibitoryConcentration | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
InfectionData::MinimumInhibitoryConcentration_type & mil::tatrc::physiology::datamodel::InfectionData::MinimumInhibitoryConcentration | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::InfectionData::MinimumInhibitoryConcentration | ( | const MinimumInhibitoryConcentration_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::InfectionData::MinimumInhibitoryConcentration | ( | ::std::unique_ptr< MinimumInhibitoryConcentration_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.
InfectionData & mil::tatrc::physiology::datamodel::InfectionData::operator= | ( | const InfectionData & | 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.
const InfectionData::Severity_type & mil::tatrc::physiology::datamodel::InfectionData::Severity | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
InfectionData::Severity_type & mil::tatrc::physiology::datamodel::InfectionData::Severity | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::InfectionData::Severity | ( | const Severity_type & | x | ) |
Set the attribute 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 attribute.
void mil::tatrc::physiology::datamodel::InfectionData::Severity | ( | ::std::unique_ptr< Severity_type > | p | ) |
Set the attribute 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.