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

#include <DateTime.h>

Inheritance diagram for trUtil::DateTime::TimeOrigin:
Collaboration diagram for trUtil::DateTime::TimeOrigin:

Static Public Attributes

static const TimeOrigin LOCAL_TIME
 The local time. More...
 
static const TimeOrigin GMT_TIME
 The GMT time. More...
 

Protected Member Functions

 ~TimeOrigin ()
 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

 TimeOrigin (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 55 of file DateTime.h.

Constructor & Destructor Documentation

◆ ~TimeOrigin()

trUtil::DateTime::TimeOrigin::~TimeOrigin ( )
inlineprotected

Destructor.

Definition at line 72 of file DateTime.h.

◆ TimeOrigin()

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

Constructor.

Parameters
nameThe name.

Definition at line 83 of file DateTime.h.

Member Data Documentation

◆ GMT_TIME

const DateTime::TimeOrigin trUtil::DateTime::TimeOrigin::GMT_TIME
static

The GMT time.

Definition at line 63 of file DateTime.h.

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

◆ LOCAL_TIME

const DateTime::TimeOrigin trUtil::DateTime::TimeOrigin::LOCAL_TIME
static

The local time.

Definition at line 61 of file DateTime.h.

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


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