#include <Creation_Time.h>
Public Member Functions | |
Temporary_Creation_Time (void) | |
void | creation_time (const void *creation_time) |
bool | operator== (const Creation_Time &rhs) const |
bool | operator!= (const Creation_Time &rhs) const |
Protected Attributes | |
void * | time_stamp_ |
Special creation time only useful in the lifetime of the upcall.
Definition at line 77 of file Creation_Time.h.
ACE_INLINE TAO::Portable_Server::Temporary_Creation_Time::Temporary_Creation_Time | ( | void | ) |
ACE_INLINE void TAO::Portable_Server::Temporary_Creation_Time::creation_time | ( | const void * | creation_time | ) |
Definition at line 119 of file Creation_Time.inl.
References time_stamp_.
Referenced by TAO_Root_POA::parse_key().
00120 { 00121 this->time_stamp_ = (void *) creation_time; 00122 }
ACE_INLINE bool TAO::Portable_Server::Temporary_Creation_Time::operator!= | ( | const Creation_Time & | rhs | ) | const |
Definition at line 88 of file Creation_Time.inl.
References TAO::Portable_Server::Creation_Time::creation_time(), TAO::Portable_Server::Creation_Time::creation_time_length(), and ACE_OS::memcmp().
00089 { 00090 #if (POA_NO_TIMESTAMP == 1) 00091 ACE_UNUSED_ARG (rhs); 00092 return false; 00093 #else 00094 return ACE_OS::memcmp (this->time_stamp_, 00095 rhs.creation_time (), 00096 Creation_Time::creation_time_length ()) != 0; 00097 #endif /* POA_NO_TIMESTAMP */ 00098 }
ACE_INLINE bool TAO::Portable_Server::Temporary_Creation_Time::operator== | ( | const Creation_Time & | rhs | ) | const |
Definition at line 75 of file Creation_Time.inl.
References TAO::Portable_Server::Creation_Time::creation_time(), TAO::Portable_Server::Creation_Time::creation_time_length(), and ACE_OS::memcmp().
00076 { 00077 #if (POA_NO_TIMESTAMP == 1) 00078 ACE_UNUSED_ARG (rhs); 00079 return true; 00080 #else 00081 return ACE_OS::memcmp (this->time_stamp_, 00082 rhs.creation_time (), 00083 Creation_Time::creation_time_length ()) == 0; 00084 #endif /* POA_NO_TIMESTAMP */ 00085 }
void* TAO::Portable_Server::Temporary_Creation_Time::time_stamp_ [protected] |