OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions
IAX2IeList Class Reference

`#include <ies.h>`

Inheritance diagram for IAX2IeList:

## 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 &)

## Additional Inherited Members

Public Types inherited from IAX2Ie

enum

IAX2IeTypeCode {
ie_calledNumber = 1, ie_callingNumber = 2, ie_callingAni = 3, ie_callingName = 4,
ie_calledContext = 5, ie_userName = 6, ie_password = 7, ie_capability = 8,
ie_format = 9, ie_language = 10, ie_version = 11, ie_adsicpe = 12,
ie_dnid = 13, ie_authMethods = 14, ie_challenge = 15, ie_md5Result = 16,
ie_rsaResult = 17, ie_apparentAddr = 18, ie_refresh = 19, ie_dpStatus = 20,
ie_callNo = 21, ie_cause = 22, ie_iaxUnknown = 23, ie_msgCount = 24,
ie_autoAnswer = 25, ie_musicOnHold = 26, ie_transferId = 27, ie_rdnis = 28,
ie_provisioning = 29, ie_aesProvisioning = 30, ie_dateTime = 31, ie_deviceType = 32,
ie_serviceIdent = 33, ie_firmwareVer = 34, ie_fwBlockDesc = 35, ie_fwBlockData = 36,
ie_provVer = 37, ie_callingPres = 38, ie_callingTon = 39, ie_callingTns = 40,
ie_samplingRate = 41, ie_causeCode = 42, ie_encryption = 43, ie_encKey = 44,
ie_codecPrefs = 45, ie_recJitter = 46, ie_recLoss = 47, ie_recPackets = 48,
ie_recDelay = 49, ie_recDropped = 50, ie_recOoo = 51, ie_variable = 52,
ie_ospToken = 53, ie_callToken = 54, ie_capability2 = 55, ie_format2 = 56,
ie_countEntries
}

static IAX2Ie * | BuildInformationElement (BYTE _typeCode, BYTE length, BYTE *srcData)
Protected Member Functions inherited from IAX2Ie
virtual void | WriteBinary (BYTE *)
Protected Attributes inherited from IAX2Ie
PBoolean | validData

## Detailed Description

An array of IE* elements are stored in this list

## Constructor & Destructor Documentation

IAX2IeList::~IAX2IeList | ( |  | ) |

Destructor, so all eleents are destroyed on destruction

## Member Function Documentation

void IAX2IeList::AppendIe | ( | IAX2Ie * | newMember | ) |

inline

Add a new IAX2Ie to the list

Referenced by IAX2FullFrameProtocol::AppendIe().

void IAX2IeList::DeleteAt | ( | PINDEX | idex | ) |

Delete item at a particular index

PBoolean IAX2IeList::Empty | ( |  | ) | const

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().

void IAX2IeList::Initialise | ( |  | ) |

inline

Initialisation - Objects are not automatically deleted on removal

PBoolean IAX2IeList::IsEmpty | ( |  | ) | const

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.

The documentation for this class was generated from the following file:

- ies.h