mil::tatrc::physiology::datamodel::TestSuite Class Reference

Class corresponding to the TestSuite schema type. More...

#include <TestReport.hxx>

Inheritance diagram for mil::tatrc::physiology::datamodel::TestSuite:

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_typeRequirement_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_sequenceRequirement () const
 Return a read-only (constant) reference to the element sequence. More...
 
Requirement_sequenceRequirement ()
 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_typeSuiteEqualError_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_sequenceSuiteEqualError () const
 Return a read-only (constant) reference to the element sequence. More...
 
SuiteEqualError_sequenceSuiteEqualError ()
 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_typeTime () const
 Return a read-only (constant) reference to the element. More...
 
Time_typeTime ()
 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_typeTestCase_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_sequenceTestCase () const
 Return a read-only (constant) reference to the element sequence. More...
 
TestCase_sequenceTestCase ()
 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_typePerformed () const
 Return a read-only (constant) reference to the attribute. More...
 
Performed_typePerformed ()
 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_typeErrors () const
 Return a read-only (constant) reference to the attribute. More...
 
Errors_typeErrors ()
 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_typeTests () const
 Return a read-only (constant) reference to the attribute. More...
 
Tests_typeTests ()
 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_typeName () const
 Return a read-only (constant) reference to the attribute. More...
 
Name_typeName ()
 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...
 
TestSuiteoperator= (const TestSuite &x)
 Copy assignment operator. More...
 

Detailed Description

Class corresponding to the TestSuite schema type.

Member Typedef Documentation

Attribute traits type.

typedef ::xsd::cxx::tree::traits< Name_type, char > mil::tatrc::physiology::datamodel::TestSuite::Name_traits

Attribute traits type.

Attribute traits type.

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

typedef SuiteEqualError_sequence::const_iterator mil::tatrc::physiology::datamodel::TestSuite::SuiteEqualError_const_iterator

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Attribute traits type.

typedef ::xsd::cxx::tree::traits< Time_type, char > mil::tatrc::physiology::datamodel::TestSuite::Time_traits

Element traits 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
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA 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
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

mil::tatrc::physiology::datamodel::TestSuite::~TestSuite ( )
virtual

Destructor.

Member Function Documentation

TestSuite * mil::tatrc::physiology::datamodel::TestSuite::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA 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
xA 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
xA 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
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

TestSuite & mil::tatrc::physiology::datamodel::TestSuite::operator= ( const TestSuite x)

Copy assignment operator.

Parameters
xAn 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
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

TestSuite::Performed_type mil::tatrc::physiology::datamodel::TestSuite::Performed_default_value ( )
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
sA 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
sA 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
sA 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
xA 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
xA 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
pA new value to use.

This function will try to use the passed value directly instead of making a copy.