Class corresponding to the TestCase schema type. More...
#include <TestReport.hxx>

Public Member Functions | |
virtual | ~TestCase () |
Destructor. More... | |
CaseEqualError | |
Accessor and modifier functions for the CaseEqualError sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::TestErrorStatisticsData | CaseEqualError_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< CaseEqualError_type > | CaseEqualError_sequence |
Element sequence container type. More... | |
typedef CaseEqualError_sequence::iterator | CaseEqualError_iterator |
Element iterator type. More... | |
typedef CaseEqualError_sequence::const_iterator | CaseEqualError_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< CaseEqualError_type, char > | CaseEqualError_traits |
Element traits type. More... | |
const CaseEqualError_sequence & | CaseEqualError () const |
Return a read-only (constant) reference to the element sequence. More... | |
CaseEqualError_sequence & | CaseEqualError () |
Return a read-write reference to the element sequence. More... | |
void | CaseEqualError (const CaseEqualError_sequence &s) |
Copy elements from a given sequence. More... | |
Failure | |
Accessor and modifier functions for the Failure sequence element. | |
typedef ::xml_schema::string | Failure_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Failure_type > | Failure_sequence |
Element sequence container type. More... | |
typedef Failure_sequence::iterator | Failure_iterator |
Element iterator type. More... | |
typedef Failure_sequence::const_iterator | Failure_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Failure_type, char > | Failure_traits |
Element traits type. More... | |
const Failure_sequence & | Failure () const |
Return a read-only (constant) reference to the element sequence. More... | |
Failure_sequence & | Failure () |
Return a read-write reference to the element sequence. More... | |
void | Failure (const Failure_sequence &s) |
Copy elements from a given sequence. More... | |
Time | |
Accessor and modifier functions for the Time required element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData | Time_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Time_type, char > | Time_traits |
Element traits type. More... | |
const Time_type & | Time () const |
Return a read-only (constant) reference to the element. More... | |
Time_type & | Time () |
Return a read-write reference to the element. More... | |
void | Time (const Time_type &x) |
Set the element value. More... | |
void | Time (::std::unique_ptr< Time_type > p) |
Set the element value without copying. More... | |
Name | |
Accessor and modifier functions for the Name required attribute. | |
typedef ::xml_schema::string | Name_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Name_type, char > | Name_traits |
Attribute traits type. More... | |
const Name_type & | Name () const |
Return a read-only (constant) reference to the attribute. More... | |
Name_type & | Name () |
Return a read-write reference to the attribute. More... | |
void | Name (const Name_type &x) |
Set the attribute value. More... | |
void | Name (::std::unique_ptr< Name_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
TestCase () | |
Default constructor. More... | |
TestCase (const Time_type &, const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
TestCase (::std::unique_ptr< Time_type >, const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
TestCase (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
TestCase (const TestCase &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual TestCase * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
TestCase & | operator= (const TestCase &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the TestCase schema type.
Member Typedef Documentation
typedef CaseEqualError_sequence::const_iterator mil::tatrc::physiology::datamodel::TestCase::CaseEqualError_const_iterator |
Element constant iterator type.
typedef CaseEqualError_sequence::iterator mil::tatrc::physiology::datamodel::TestCase::CaseEqualError_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< CaseEqualError_type > mil::tatrc::physiology::datamodel::TestCase::CaseEqualError_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< CaseEqualError_type, char > mil::tatrc::physiology::datamodel::TestCase::CaseEqualError_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::TestErrorStatisticsData mil::tatrc::physiology::datamodel::TestCase::CaseEqualError_type |
Element type.
typedef Failure_sequence::const_iterator mil::tatrc::physiology::datamodel::TestCase::Failure_const_iterator |
Element constant iterator type.
typedef Failure_sequence::iterator mil::tatrc::physiology::datamodel::TestCase::Failure_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< Failure_type > mil::tatrc::physiology::datamodel::TestCase::Failure_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< Failure_type, char > mil::tatrc::physiology::datamodel::TestCase::Failure_traits |
Element traits type.
Element type.
typedef ::xsd::cxx::tree::traits< Name_type, char > mil::tatrc::physiology::datamodel::TestCase::Name_traits |
Attribute traits type.
Attribute type.
typedef ::xsd::cxx::tree::traits< Time_type, char > mil::tatrc::physiology::datamodel::TestCase::Time_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData mil::tatrc::physiology::datamodel::TestCase::Time_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::TestCase::TestCase | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::TestCase::TestCase | ( | const Time_type & | Time, |
const Name_type & | Name | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::TestCase::TestCase | ( | ::std::unique_ptr< Time_type > | Time, |
const Name_type & | Name | ||
) |
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::TestCase::TestCase | ( | 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::TestCase::TestCase | ( | const TestCase & | 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.
const TestCase::CaseEqualError_sequence & mil::tatrc::physiology::datamodel::TestCase::CaseEqualError | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
TestCase::CaseEqualError_sequence & mil::tatrc::physiology::datamodel::TestCase::CaseEqualError | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::TestCase::CaseEqualError | ( | const CaseEqualError_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 TestCase::Failure_sequence & mil::tatrc::physiology::datamodel::TestCase::Failure | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
TestCase::Failure_sequence & mil::tatrc::physiology::datamodel::TestCase::Failure | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::TestCase::Failure | ( | const Failure_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 TestCase::Name_type & mil::tatrc::physiology::datamodel::TestCase::Name | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
TestCase::Name_type & mil::tatrc::physiology::datamodel::TestCase::Name | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::TestCase::Name | ( | const Name_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::TestCase::Name | ( | ::std::unique_ptr< Name_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.
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 TestCase::Time_type & mil::tatrc::physiology::datamodel::TestCase::Time | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
TestCase::Time_type & mil::tatrc::physiology::datamodel::TestCase::Time | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::TestCase::Time | ( | const Time_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::TestCase::Time | ( | ::std::unique_ptr< Time_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.