class IAXInfoElementString

A single IAX2 text Information Element. More...

Full nameTelEngine::IAXInfoElementString
Definition#include <libs/yiax/yateiax.h>
InheritsTelEngine::IAXInfoElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class holds a single Information Element with text data

inline  IAXInfoElementString (Type type, const char* buf, unsigned len)

IAXInfoElementString

Constructor

Parameters:
typeType of this IE
bufSource buffer to construct this IE
lenBuffer length

 ~IAXInfoElementString ()

~IAXInfoElementString

[virtual]

Destructor

inline int  length ()

length

[const]

Get the data length

Returns: The data length

inline String&  data ()

data

Get the data

Returns: The data

void  toBuffer (DataBlock& buf)

toBuffer

[virtual]

Constructs a buffer containing this Information Element

Parameters:
bufDestination buffer

Reimplemented from IAXInfoElement.

void  toString (String& buf)

toString

[virtual]

Add this element to a string

Parameters:
bufDestination string

Reimplemented from IAXInfoElement.


Generated by: paulc on bussard on Tue Mar 8 18:42:27 2011, using kdoc 2.0a54.