Yate
Public Member Functions
IAXInfoElementString Class Reference

A single IAX2 text Information Element. More...

#include <yateiax.h>

Inheritance diagram for IAXInfoElementString:
IAXInfoElement RefObject GenObject

List of all members.

Public Member Functions

 IAXInfoElementString (Type type, const char *buf, unsigned len)
virtual ~IAXInfoElementString ()
int length () const
Stringdata ()
virtual void toBuffer (DataBlock &buf)
virtual void toString (String &buf)

Detailed Description

A single IAX2 text Information Element.

This class holds a single Information Element with text data


Constructor & Destructor Documentation

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

Constructor

Parameters:
typeType of this IE
bufSource buffer to construct this IE
lenBuffer length
virtual ~IAXInfoElementString ( ) [inline, virtual]

Destructor


Member Function Documentation

String& data ( ) [inline]

Get the data

Returns:
The data
int length ( ) const [inline]

Get the data length

Returns:
The data length
virtual void toBuffer ( DataBlock buf) [virtual]

Constructs a buffer containing this Information Element

Parameters:
bufDestination buffer

Reimplemented from IAXInfoElement.

virtual void toString ( String buf) [inline, virtual]

Add this element to a string

Parameters:
bufDestination string

Reimplemented from IAXInfoElement.


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