mil::tatrc::physiology::datamodel::TestCase Class Reference

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

#include <TestReport.hxx>

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

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_typeCaseEqualError_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_sequenceCaseEqualError () const
 Return a read-only (constant) reference to the element sequence. More...
 
CaseEqualError_sequenceCaseEqualError ()
 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_typeFailure_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_sequenceFailure () const
 Return a read-only (constant) reference to the element sequence. More...
 
Failure_sequenceFailure ()
 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_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...
 

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

 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...
 
TestCaseoperator= (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.

Element iterator type.

Element sequence container type.

Element traits type.

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

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

Attribute traits type.

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

Element traits 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
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::TestCase::TestCase ( const TestCase 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::TestCase::~TestCase ( )
virtual

Destructor.

Member Function Documentation

TestCase * mil::tatrc::physiology::datamodel::TestCase::_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 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
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 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
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 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
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::TestCase::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.

TestCase & mil::tatrc::physiology::datamodel::TestCase::operator= ( const TestCase 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 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
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::TestCase::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.