#include <Creation_Time.h>
Public Member Functions | |
Creation_Time (const ACE_Time_Value &creation_time) | |
Creation_Time (void) | |
void | creation_time (const void *creation_time) |
const void * | creation_time (void) const |
bool | operator== (const Creation_Time &rhs) const |
bool | operator!= (const Creation_Time &rhs) const |
bool | operator== (const Temporary_Creation_Time &rhs) const |
bool | operator!= (const Temporary_Creation_Time &rhs) const |
Static Public Member Functions | |
static CORBA::ULong | creation_time_length (void) |
Protected Types | |
enum | { SEC_FIELD = 0, USEC_FIELD = 1 } |
Protected Attributes | |
CORBA::ULong | time_stamp_ [2] |
Timestamp. |
Definition at line 35 of file Creation_Time.h.
anonymous enum [protected] |
Definition at line 58 of file Creation_Time.h.
{ SEC_FIELD = 0, USEC_FIELD = 1 };
TAO::Portable_Server::Creation_Time::Creation_Time | ( | const ACE_Time_Value & | creation_time | ) | [explicit] |
Definition at line 21 of file Creation_Time.inl.
{ this->time_stamp_[Creation_Time::SEC_FIELD] = (CORBA::ULong) creation_time.sec (); this->time_stamp_[Creation_Time::USEC_FIELD] = (CORBA::ULong) creation_time.usec (); }
TAO::Portable_Server::Creation_Time::Creation_Time | ( | void | ) |
Definition at line 28 of file Creation_Time.inl.
{ this->time_stamp_[Creation_Time::SEC_FIELD] = 0; this->time_stamp_[Creation_Time::USEC_FIELD] = 0; }
void TAO::Portable_Server::Creation_Time::creation_time | ( | const void * | creation_time | ) |
Definition at line 35 of file Creation_Time.inl.
{ ACE_OS::memcpy (&this->time_stamp_, creation_time, Creation_Time::creation_time_length ()); }
const void * TAO::Portable_Server::Creation_Time::creation_time | ( | void | ) | const |
Definition at line 43 of file Creation_Time.inl.
{ return &this->time_stamp_; }
CORBA::ULong TAO::Portable_Server::Creation_Time::creation_time_length | ( | void | ) | [static] |
Definition at line 15 of file Creation_Time.inl.
{ return 2 * sizeof (CORBA::ULong); }
bool TAO::Portable_Server::Creation_Time::operator!= | ( | const Creation_Time & | rhs | ) | const |
Definition at line 62 of file Creation_Time.inl.
{ #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); return false; #else return ACE_OS::memcmp (&this->time_stamp_, &rhs.time_stamp_, Creation_Time::creation_time_length ()) != 0; #endif /* POA_NO_TIMESTAMP */ }
bool TAO::Portable_Server::Creation_Time::operator!= | ( | const Temporary_Creation_Time & | rhs | ) | const |
Definition at line 107 of file Creation_Time.inl.
{ return rhs != *this; }
bool TAO::Portable_Server::Creation_Time::operator== | ( | const Temporary_Creation_Time & | rhs | ) | const |
Definition at line 101 of file Creation_Time.inl.
{ return rhs == *this; }
bool TAO::Portable_Server::Creation_Time::operator== | ( | const Creation_Time & | rhs | ) | const |
Definition at line 49 of file Creation_Time.inl.
{ #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); return true; #else return ACE_OS::memcmp (&this->time_stamp_, &rhs.time_stamp_, Creation_Time::creation_time_length ()) == 0; #endif /* POA_NO_TIMESTAMP */ }
CORBA::ULong TAO::Portable_Server::Creation_Time::time_stamp_[2] [protected] |
Timestamp.
Definition at line 65 of file Creation_Time.h.