TrueReality  v0.1.1912
trUtil::DateTime::TimeType Class Reference

#include <DateTime.h>

Inheritance diagram for trUtil::DateTime::TimeType:
Collaboration diagram for trUtil::DateTime::TimeType:

Static Public Attributes

static const TimeType CLOCK_TIME
 The clock time. More...
 
static const TimeType SIMULATION_TIME
 The simulation time. More...
 
static const TimeType SCENARIO_TIME
 The scenario time. More...
 
static const TimeType TRIP_TIME
 The trip time. More...
 
static const TimeType TIME_STAMP
 The time stamp. More...
 
static const TimeType TIME_TYPE_OTHER
 The time type other. More...
 

Protected Member Functions

 ~TimeType ()
 Destructor. More...
 
- Protected Member Functions inherited from trUtil::EnumerationString
virtual int Compare (const std::string &nameString) const
 Virtual string compare method to used by the operators that take a string. More...
 
virtual ~EnumerationString ()
 Private virtual destructor to get rid of compile warning. More...
 
 EnumerationString (const std::string &name)
 Construct the EnumerationString. More...
 

Private Member Functions

 TimeType (const std::string &name)
 Constructor. More...
 

Additional Inherited Members

- Public Member Functions inherited from trUtil::EnumerationString
const std::string & GetName () const
 Inlined because it's called frequently. More...
 
bool operator== (const EnumerationString &rhs) const
 Equality test for an EnumerationString. More...
 
bool operator!= (const EnumerationString &rhs) const
 Inequality test for an EnumerationString. More...
 
bool operator== (const std::string &rhs) const
 Overloaded string compare operator for the EnumerationString. More...
 
bool operator!= (const std::string &rhs) const
 Overloaded inequality test for this EnumerationString's string value. More...
 
bool operator< (const std::string &rhs) const
 Overloaded less than test for this EnumerationString's string value. More...
 
bool operator> (const std::string &rhs) const
 Overloaded greater than test for this EnumerationString's string value. More...
 
bool operator< (const EnumerationString &rhs) const
 Overloaded less than operator. More...
 

Detailed Description

Definition at line 94 of file DateTime.h.

Constructor & Destructor Documentation

◆ ~TimeType()

trUtil::DateTime::TimeType::~TimeType ( )
inlineprotected

Destructor.

Definition at line 119 of file DateTime.h.

◆ TimeType()

trUtil::DateTime::TimeType::TimeType ( const std::string &  name)
inlineprivate

Constructor.

Parameters
nameThe name.

Definition at line 130 of file DateTime.h.

Member Data Documentation

◆ CLOCK_TIME

const DateTime::TimeType trUtil::DateTime::TimeType::CLOCK_TIME
static

The clock time.

Definition at line 100 of file DateTime.h.

◆ SCENARIO_TIME

const DateTime::TimeType trUtil::DateTime::TimeType::SCENARIO_TIME
static

The scenario time.

Definition at line 104 of file DateTime.h.

◆ SIMULATION_TIME

const DateTime::TimeType trUtil::DateTime::TimeType::SIMULATION_TIME
static

The simulation time.

Definition at line 102 of file DateTime.h.

◆ TIME_STAMP

const DateTime::TimeType trUtil::DateTime::TimeType::TIME_STAMP
static

The time stamp.

Definition at line 108 of file DateTime.h.

◆ TIME_TYPE_OTHER

const DateTime::TimeType trUtil::DateTime::TimeType::TIME_TYPE_OTHER
static

The time type other.

Definition at line 110 of file DateTime.h.

Referenced by trUtil::DateTime::ResetToDefaultValues().

◆ TRIP_TIME

const DateTime::TimeType trUtil::DateTime::TimeType::TRIP_TIME
static

The trip time.

Definition at line 106 of file DateTime.h.


The documentation for this class was generated from the following files: