OPAL
Version 3.10.10
|
#include <ies.h>
Public Member Functions | |
construction/destruction | |
IAX2IeBinary (BYTE length, BYTE *srcData) | |
IAX2IeBinary (PBYTEArray newValue) | |
IAX2IeBinary () | |
Worker methods | |
virtual BYTE | GetLengthOfData () |
virtual void | PrintOn (ostream &str) const |
void | SetData (const PBYTEArray &newData) |
void | GetData (PBYTEArray &answer) |
void | CopyData (IAX2IeBinary *src) |
![]() | |
IAX2Ie () | |
virtual | ~IAX2Ie () |
virtual PBoolean | IsValid () |
int | GetBinarySize () |
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 | |
PBYTEArray | dataValue |
![]() | |
PBoolean | validData |
An Information Element that contains numbers which are in the range of 0..255 It is valid to have zero elements in this field.
IAX2IeBinary::IAX2IeBinary | ( | BYTE | length, |
BYTE * | srcData | ||
) |
Constructor - read data from source array.
If the length is zero, the value of srcData is ignored, and an empty array is created.
|
inline |
Construct to an initialised value
References IAX2Ie::SetData().
|
inline |
Constructor to an invalid and empty result
void IAX2IeBinary::CopyData | ( | IAX2IeBinary * | src | ) |
Copy the data from the supplied IAX2IeBinary and put it into this instance
void IAX2IeBinary::GetData | ( | PBYTEArray & | answer | ) |
Take the internal data and copy it to the parameter
|
inlinevirtual |
return the number of bytes to hold this data element
Reimplemented from IAX2Ie.
References IAX2Ie::PrintOn(), IAX2Ie::SetData(), and IAX2Ie::WriteBinary().
|
virtual |
print this class (nicely) to the designated stream
Reimplemented from IAX2Ie.
Reimplemented in IAX2IeCallToken.
void IAX2IeBinary::SetData | ( | const PBYTEArray & | newData | ) |
Take the supplied data and copy contents into this IE
|
protectedvirtual |
|
protected |
The actual data stored in a IAX2IeBinary class