IAX2IeDateAndTime Class Reference

#include <ies.h>

Inheritance diagram for IAX2IeDateAndTime:

IAX2Ie IAX2IeDateTime List of all members.

Public Member Functions

construction/destruction
 IAX2IeDateAndTime (BYTE length, BYTE *srcData)
 IAX2IeDateAndTime (const PTime &newValue)
 IAX2IeDateAndTime ()
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

Detailed Description

An Information Element that contains the date and time, from a 32 bit long representation


Constructor & Destructor Documentation

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


Member Function Documentation

virtual BYTE IAX2IeDateAndTime::GetLengthOfData  )  [inline, virtual]
 

return the number of bytes to hold this data element

Reimplemented from IAX2Ie.

void IAX2IeDateAndTime::PrintOn ostream &  str  )  const
 

print this class (nicely) to the designated stream

Reimplemented from IAX2Ie.

Reimplemented in IAX2IeDateTime.

PTime IAX2IeDateAndTime::ReadData  )  [inline]
 

Report the value of the stored data for this class

Reimplemented from IAX2Ie.

void IAX2IeDateAndTime::SetData const PTime &  newData  )  [inline]
 

Take the supplied data and copy contents into this IE

virtual void IAX2IeDateAndTime::WriteBinary BYTE *  data  )  [protected, virtual]
 

Take the data value for this particular IAX2Ie and copy into the memory region.

Reimplemented from IAX2Ie.


Member Data Documentation

PTime IAX2IeDateAndTime::dataValue [protected]
 

The actual data stored in a IAX2IeDateAndTime class


The documentation for this class was generated from the following file:
Generated on Mon Jan 7 22:32:47 2008 for OPAL by  doxygen 1.4.6