#include <ies.h>
Inheritance diagram for IAX2IeDateAndTime:
Public Member Functions | |
Worker methods | |
void | PrintOn (ostream &str) const |
virtual BYTE | GetLengthOfData () |
void | SetData (const PTime &newData) |
PTime | ReadData () |
Protected Member Functions | |
virtual void | WriteBinary (BYTE *data) |
Protected Attributes | |
PTime | dataValue |
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | BYTE | length, | |
BYTE * | srcData | |||
) |
Constructor - read data from source array.
Contents are valid if source array is valid.
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | const PTime & | newValue | ) | [inline] |
Construct to an initialized value
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | ) | [inline] |
Constructor to an invalid and empty result
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | BYTE | length, | |
BYTE * | srcData | |||
) |
Constructor - read data from source array.
Contents are valid if source array is valid.
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | const PTime & | newValue | ) | [inline] |
Construct to an initialized value
IAX2IeDateAndTime::IAX2IeDateAndTime | ( | ) | [inline] |
Constructor to an invalid and empty result
void IAX2IeDateAndTime::PrintOn | ( | ostream & | str | ) | const |
print this class (nicely) to the designated stream
Reimplemented from IAX2Ie.
Reimplemented in IAX2IeDateTime.
virtual BYTE IAX2IeDateAndTime::GetLengthOfData | ( | ) | [inline, virtual] |
return the number of bytes to hold this data element
Reimplemented from IAX2Ie.
void IAX2IeDateAndTime::SetData | ( | const PTime & | newData | ) | [inline] |
Take the supplied data and copy contents into this IE
PTime IAX2IeDateAndTime::ReadData | ( | ) | [inline] |
Report the value of the stored data for this class
Reimplemented from IAX2Ie.
virtual void IAX2IeDateAndTime::WriteBinary | ( | BYTE * | data | ) | [protected, virtual] |
PTime IAX2IeDateAndTime::dataValue [protected] |
The actual data stored in a IAX2IeDateAndTime class