IAX2IeDateAndTime Class Reference

#include <ies.h>

Inheritance diagram for IAX2IeDateAndTime:

IAX2Ie IAX2IeDateTime List of all members.

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

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

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

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]

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 Fri Mar 7 06:34:03 2008 for OPAL by  doxygen 1.5.1