CFx SDK Documentation
2023 SP0
|
#include <BcfTimeStamp.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfTimeStamp) | |
OdBcfTimeStamp () | |
OdString | toString () const |
bool | operator== (const OdBcfTimeStamp &val) const |
bool | operator!= (const OdBcfTimeStamp &val) const |
bool | operator< (const OdBcfTimeStamp &val) const |
operator OdString () const | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static OdSmartPtr< OdBcfTimeStamp > | createObject (const OdString &timeString) |
static OdSmartPtr< OdBcfTimeStamp > | createObject (const OdTimeStamp &localTimeStamp) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
void | init (const OdUInt16 year, const OdUInt8 month, const OdUInt8 day, const OdUInt8 hour, const OdUInt8 minute, const OdUInt8 second, const OdUInt16 msecond, const OdInt8 timeZoneSign, const OdUInt8 timeZoneHour, const OdUInt8 timeZoneMinute) |
OdTimeStamp | toUTC () const |
Protected Attributes | |
OdTimeStamp | m_timeStamp |
OdInt | m_timeZone |
bool | m_isUTC |
A class that provides functionality for working with DateTime data type.
Definition at line 39 of file BcfTimeStamp.h.
OdBcf::OdBcfTimeStamp::OdBcfTimeStamp | ( | ) |
Creates a new object with default parameters.
|
static |
Creates a new time stamp object for specified DateTime value.
value | [in] A string that contains DateTime value. |
|
static |
Creates a new time stamp object for specified OdTimeStamp value.
localTimeStamp | [in] An OdTimeStamp value. |
|
protected |
OdBcf::OdBcfTimeStamp::ODRX_DECLARE_MEMBERS | ( | OdBcfTimeStamp | ) |
OdBcf::OdBcfTimeStamp::operator OdString | ( | ) | const |
bool OdBcf::OdBcfTimeStamp::operator!= | ( | const OdBcfTimeStamp & | val | ) | const |
Unequal to operator for BCF time stamp objects.
val | [in] Another BCF time stamp value to be compared with (right-hand operand). |
bool OdBcf::OdBcfTimeStamp::operator< | ( | const OdBcfTimeStamp & | val | ) | const |
Less than operator for BCF time stamp objects.
val | [in] Another BCF time stamp value to be compared with (right-hand operand). |
bool OdBcf::OdBcfTimeStamp::operator== | ( | const OdBcfTimeStamp & | val | ) | const |
Equal to operator for BCF time stamp objects.
val | [in] Another BCF time stamp value to be compared with (right-hand operand). |
OdString OdBcf::OdBcfTimeStamp::toString | ( | ) | const |
Converts contained time stamp to DateTime string.
|
protected |
|
protected |
Definition at line 106 of file BcfTimeStamp.h.
|
protected |
Definition at line 104 of file BcfTimeStamp.h.
|
protected |
Definition at line 105 of file BcfTimeStamp.h.