Class corresponding to the TestSuite schema type. More...
#include <TestReport.hxx>
Public Member Functions | |
virtual | ~TestSuite () |
Destructor. More... | |
Requirement | |
Accessor and modifier functions for the Requirement sequence element. | |
typedef ::xml_schema::string | Requirement_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Requirement_type > | Requirement_sequence |
Element sequence container type. More... | |
typedef Requirement_sequence::iterator | Requirement_iterator |
Element iterator type. More... | |
typedef Requirement_sequence::const_iterator | Requirement_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Requirement_type, char > | Requirement_traits |
Element traits type. More... | |
const Requirement_sequence & | Requirement () const |
Return a read-only (constant) reference to the element sequence. More... | |
Requirement_sequence & | Requirement () |
Return a read-write reference to the element sequence. More... | |
void | Requirement (const Requirement_sequence &s) |
Copy elements from a given sequence. More... | |
SuiteEqualError | |
Accessor and modifier functions for the SuiteEqualError sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::TestErrorStatisticsData | SuiteEqualError_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< SuiteEqualError_type > | SuiteEqualError_sequence |
Element sequence container type. More... | |
typedef SuiteEqualError_sequence::iterator | SuiteEqualError_iterator |
Element iterator type. More... | |
typedef SuiteEqualError_sequence::const_iterator | SuiteEqualError_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< SuiteEqualError_type, char > | SuiteEqualError_traits |
Element traits type. More... | |
const SuiteEqualError_sequence & | SuiteEqualError () const |
Return a read-only (constant) reference to the element sequence. More... | |
SuiteEqualError_sequence & | SuiteEqualError () |
Return a read-write reference to the element sequence. More... | |
void | SuiteEqualError (const SuiteEqualError_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... | |
TestCase | |
Accessor and modifier functions for the TestCase sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::TestCase | TestCase_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< TestCase_type > | TestCase_sequence |
Element sequence container type. More... | |
typedef TestCase_sequence::iterator | TestCase_iterator |
Element iterator type. More... | |
typedef TestCase_sequence::const_iterator | TestCase_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< TestCase_type, char > | TestCase_traits |
Element traits type. More... | |
const TestCase_sequence & | TestCase () const |
Return a read-only (constant) reference to the element sequence. More... | |
TestCase_sequence & | TestCase () |
Return a read-write reference to the element sequence. More... | |
void | TestCase (const TestCase_sequence &s) |
Copy elements from a given sequence. More... | |
Performed | |
Accessor and modifier functions for the Performed optional attribute with a default value. | |
typedef ::xml_schema::boolean | Performed_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Performed_type, char > | Performed_traits |
Attribute traits type. More... | |
const Performed_type & | Performed () const |
Return a read-only (constant) reference to the attribute. More... | |
Performed_type & | Performed () |
Return a read-write reference to the attribute. More... | |
void | Performed (const Performed_type &x) |
Set the attribute value. More... | |
static Performed_type | Performed_default_value () |
Return the default value for the attribute. More... | |
Errors | |
Accessor and modifier functions for the Errors required attribute. | |
typedef ::xml_schema::int_ | Errors_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Errors_type, char > | Errors_traits |
Attribute traits type. More... | |
const Errors_type & | Errors () const |
Return a read-only (constant) reference to the attribute. More... | |
Errors_type & | Errors () |
Return a read-write reference to the attribute. More... | |
void | Errors (const Errors_type &x) |
Set the attribute value. More... | |
Tests | |
Accessor and modifier functions for the Tests required attribute. | |
typedef ::xml_schema::int_ | Tests_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Tests_type, char > | Tests_traits |
Attribute traits type. More... | |
const Tests_type & | Tests () const |
Return a read-only (constant) reference to the attribute. More... | |
Tests_type & | Tests () |
Return a read-write reference to the attribute. More... | |
void | Tests (const Tests_type &x) |
Set the attribute value. 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 | |
TestSuite () | |
Default constructor. More... | |
TestSuite (const Time_type &, const Errors_type &, const Tests_type &, const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
TestSuite (::std::unique_ptr< Time_type >, const Errors_type &, const Tests_type &, const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
TestSuite (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
TestSuite (const TestSuite &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual TestSuite * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
TestSuite & | operator= (const TestSuite &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the TestSuite schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< Errors_type, char > mil::tatrc::physiology::datamodel::TestSuite::Errors_traits |
Attribute traits type.
Attribute type.
typedef ::xsd::cxx::tree::traits< Name_type, char > mil::tatrc::physiology::datamodel::TestSuite::Name_traits |
Attribute traits type.
Attribute type.
typedef ::xsd::cxx::tree::traits< Performed_type, char > mil::tatrc::physiology::datamodel::TestSuite::Performed_traits |
Attribute traits type.
Attribute type.
typedef Requirement_sequence::const_iterator mil::tatrc::physiology::datamodel::TestSuite::Requirement_const_iterator |
Element constant iterator type.
typedef Requirement_sequence::iterator mil::tatrc::physiology::datamodel::TestSuite::Requirement_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< Requirement_type > mil::tatrc::physiology::datamodel::TestSuite::Requirement_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< Requirement_type, char > mil::tatrc::physiology::datamodel::TestSuite::Requirement_traits |
Element traits type.
Element type.
typedef SuiteEqualError_sequence::const_iterator mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_const_iterator |
Element constant iterator type.
typedef SuiteEqualError_sequence::iterator mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< SuiteEqualError_type > mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< SuiteEqualError_type, char > mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::TestErrorStatisticsData mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_type |
Element type.
typedef TestCase_sequence::const_iterator mil::tatrc::physiology::datamodel::TestSuite::TestCase_const_iterator |
Element constant iterator type.
typedef TestCase_sequence::iterator mil::tatrc::physiology::datamodel::TestSuite::TestCase_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< TestCase_type > mil::tatrc::physiology::datamodel::TestSuite::TestCase_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< TestCase_type, char > mil::tatrc::physiology::datamodel::TestSuite::TestCase_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::TestCase mil::tatrc::physiology::datamodel::TestSuite::TestCase_type |
Element type.
typedef ::xsd::cxx::tree::traits< Tests_type, char > mil::tatrc::physiology::datamodel::TestSuite::Tests_traits |
Attribute traits type.
Attribute type.
typedef ::xsd::cxx::tree::traits< Time_type, char > mil::tatrc::physiology::datamodel::TestSuite::Time_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData mil::tatrc::physiology::datamodel::TestSuite::Time_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::TestSuite::TestSuite | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::TestSuite::TestSuite | ( | const Time_type & | Time, |
const Errors_type & | Errors, | ||
const Tests_type & | Tests, | ||
const Name_type & | Name | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::TestSuite::TestSuite | ( | ::std::unique_ptr< Time_type > | Time, |
const Errors_type & | Errors, | ||
const Tests_type & | Tests, | ||
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::TestSuite::TestSuite | ( | 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::TestSuite::TestSuite | ( | const TestSuite & | 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 TestSuite::Errors_type & mil::tatrc::physiology::datamodel::TestSuite::Errors | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
TestSuite::Errors_type & mil::tatrc::physiology::datamodel::TestSuite::Errors | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::TestSuite::Errors | ( | const Errors_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.
const TestSuite::Name_type & mil::tatrc::physiology::datamodel::TestSuite::Name | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
TestSuite::Name_type & mil::tatrc::physiology::datamodel::TestSuite::Name | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::TestSuite::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::TestSuite::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 TestSuite::Performed_type & mil::tatrc::physiology::datamodel::TestSuite::Performed | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
TestSuite::Performed_type & mil::tatrc::physiology::datamodel::TestSuite::Performed | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::TestSuite::Performed | ( | const Performed_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.
|
static |
Return the default value for the attribute.
- Returns
- The attribute's default value.
const TestSuite::Requirement_sequence & mil::tatrc::physiology::datamodel::TestSuite::Requirement | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
TestSuite::Requirement_sequence & mil::tatrc::physiology::datamodel::TestSuite::Requirement | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::TestSuite::Requirement | ( | const Requirement_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 TestSuite::SuiteEqualError_sequence & mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
TestSuite::SuiteEqualError_sequence & mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError | ( | const SuiteEqualError_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 TestSuite::TestCase_sequence & mil::tatrc::physiology::datamodel::TestSuite::TestCase | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
TestSuite::TestCase_sequence & mil::tatrc::physiology::datamodel::TestSuite::TestCase | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::TestSuite::TestCase | ( | const TestCase_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 TestSuite::Tests_type & mil::tatrc::physiology::datamodel::TestSuite::Tests | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
TestSuite::Tests_type & mil::tatrc::physiology::datamodel::TestSuite::Tests | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::TestSuite::Tests | ( | const Tests_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.
const TestSuite::Time_type & mil::tatrc::physiology::datamodel::TestSuite::Time | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
TestSuite::Time_type & mil::tatrc::physiology::datamodel::TestSuite::Time | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::TestSuite::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::TestSuite::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.