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:
type Type of this IE
buf Source buffer to construct this IE
len Buffer 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:
buf Destination buffer

Reimplemented from IAXInfoElement.

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

Add this element to a string

Parameters:
buf Destination string

Reimplemented from IAXInfoElement.


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

Generated on Sun Dec 7 21:36:12 2008 for Yate by  doxygen 1.5.7.1