OPAL
Version 3.10.10
|
#include <ies.h>
Public Member Functions | |
construction/destruction | |
IAX2IeString (BYTE length, BYTE *srcData) | |
IAX2IeString (const PString &newValue) | |
IAX2IeString (const char *newValue) | |
IAX2IeString () | |
Worker methods | |
virtual BYTE | GetLengthOfData () |
void | PrintOn (ostream &str) const |
void | SetData (const PString &newData) |
void | SetData (const char *newData) |
PString | ReadData () |
![]() | |
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 | |
PString | dataValue |
![]() | |
PBoolean | validData |
An Information Element that contains an array of characters.
IAX2IeString::IAX2IeString | ( | BYTE | length, |
BYTE * | srcData | ||
) |
Constructor - read data from source array.
Contents are valid if source array is valid.
|
inline |
Construct to an initialised value
References IAX2Ie::SetData().
|
inline |
Construct to an initialised value
References IAX2Ie::SetData().
|
inline |
Constructor to an invalid and empty result
References IAX2Ie::GetLengthOfData(), IAX2Ie::PrintOn(), and IAX2Ie::SetData().
|
virtual |
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 IAX2IeEncKey, IAX2IeServiceIdent, IAX2IeDeviceType, IAX2IeRdnis, IAX2IeCause, IAX2IeRsaResult, IAX2IeMd5Result, IAX2IeChallenge, IAX2IeDnid, IAX2IeLanguage, IAX2IePassword, IAX2IeUserName, IAX2IeCalledContext, IAX2IeCallingName, IAX2IeCallingAni, IAX2IeCallingNumber, and IAX2IeCalledNumber.
|
inline |
Report the value of the stored data for this class
References IAX2Ie::WriteBinary().
void IAX2IeString::SetData | ( | const PString & | newData | ) |
Take the supplied data and copy contents into this IE
void IAX2IeString::SetData | ( | const char * | newData | ) |
Take the supplied data and copy contents into this IE
|
protectedvirtual |
|
protected |
The actual data stored in a IAX2IeString class