|
OPAL
Version 3.10.10
|
#include <ies.h>
Public Member Functions | |
| ~IAX2IeList () | |
| IAX2Ie * | RemoveIeAt (PINDEX i) |
| IAX2Ie * | RemoveLastIe () |
| void | Initialise () |
| void | DeleteAt (PINDEX idex) |
| PBoolean | Empty () const |
| PBoolean | IsEmpty () const |
| void | AppendIe (IAX2Ie *newMember) |
| int | GetBinaryDataSize () const |
| IAX2Ie * | GetIeAt (int i) const |
Public Member Functions inherited from IAX2Ie | |
| IAX2Ie () | |
| virtual | ~IAX2Ie () |
| virtual PBoolean | IsValid () |
| virtual BYTE | GetLengthOfData () |
| int | GetBinarySize () |
| virtual void | PrintOn (ostream &str) const |
| virtual BYTE | GetKeyValue () const |
| void | SetData (int &) |
| int | ReadData () |
| void | WriteBinary (void *data, PINDEX &writeIndex) |
| virtual void | StoreDataIn (IAX2IeData &) |
An array of IE* elements are stored in this list
| IAX2IeList::~IAX2IeList | ( | ) |
Destructor, so all eleents are destroyed on destruction
|
inline |
Add a new IAX2Ie to the list
Referenced by IAX2FullFrameProtocol::AppendIe().
| void IAX2IeList::DeleteAt | ( | PINDEX | idex | ) |
Delete item at a particular index
|
inline |
Test to see if list is empty - returns true if no elements stored in this list
| int IAX2IeList::GetBinaryDataSize | ( | ) | const |
Get the number of bytes to store all these IAX2Ie's in a network packet
| IAX2Ie* IAX2IeList::GetIeAt | ( | int | i | ) | const |
Get a pointer to the IAX2Ie which is stored at index i
Referenced by IAX2FullFrameProtocol::GetIeAt().
|
inline |
Initialisation - Objects are not automatically deleted on removal
|
inline |
Test to see if list is empty - returns true if no elements stored in this list
Referenced by IAX2FullFrameProtocol::InformationElementsPresent().
| IAX2Ie* IAX2IeList::RemoveIeAt | ( | PINDEX | i | ) |
Access method, get pointer to information element at index. Returns NULL if index is out of bounds. This will remove the specified IAX2Ie from the list.
| IAX2Ie* IAX2IeList::RemoveLastIe | ( | ) |
Access method, get pointer to last information element in the list. Returns NULL if index is out of bounds. This will remove the specified IAX2Ie from the list.