OPAL
Version 3.14.3
|
#include <ies.h>
Public Member Functions | |
construction/destruction | |
IAX2IeDateAndTime (BYTE length, BYTE *srcData) | |
IAX2IeDateAndTime (const PTime &newValue) | |
IAX2IeDateAndTime () | |
Worker methods | |
virtual void | PrintOn (ostream &str) const |
virtual BYTE | GetLengthOfData () const |
void | SetData (const PTime &newData) |
PTime | ReadData () |
![]() | |
IAX2Ie () | |
virtual | ~IAX2Ie () |
virtual PBoolean | IsValid () |
int | GetBinarySize () const |
virtual BYTE | GetKeyValue () const |
void | SetData (int &) |
int | ReadData () |
void | WriteBinary (void *data, PINDEX &writeIndex) |
virtual void | StoreDataIn (IAX2IeData &) |
Protected Member Functions | |
virtual void | WriteBinary (BYTE *data) |
Protected Attributes | |
PTime | dataValue |
![]() | |
PBoolean | validData |
An Information Element that contains the date and time, from a 32 bit long representation
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | BYTE | length, |
BYTE * | srcData | ||
) |
Constructor - read data from source array.
Contents are valid if source array is valid.
|
inline |
Construct to an initialized value
References SetData().
|
inline |
Constructor to an invalid and empty result
|
inlinevirtual |
return the number of bytes to hold this data element
Reimplemented from IAX2Ie.
|
virtual |
print this class (nicely) to the designated stream
Reimplemented from IAX2Ie.
Reimplemented in IAX2IeDateTime.
|
inline |
Report the value of the stored data for this class
References dataValue.
|
inline |
Take the supplied data and copy contents into this IE
References dataValue, and IAX2Ie::validData.
Referenced by IAX2IeDateAndTime().
|
protectedvirtual |
|
protected |
The actual data stored in a IAX2IeDateAndTime class
Referenced by ReadData(), SetData(), and IAX2IeDateTime::StoreDataIn().