Main Page   Class Hierarchy   Compound List   Compound Members  

sdpElement Class Reference

#include <sdpElements.h>

Inheritance diagram for sdpElement:

sdpAttribute sdpBandwidth sdpConnection sdpCryptoKeyParm sdpCryptoSessionParm sdpEmailAddress sdpEncryptionKey sdpMedia sdpMediaTitle sdpOrigin sdpPhoneNumber sdpRepeatTimes sdpSessionInformation sdpSessionName sdpTime sdpTimezoneAdjustment sdpURI sdpVersion List of all members.

Public Methods

void clear ()
 Clears value.

int getLen ()
 Returns value len.

const char * getValue ()
 Returns value.

bool ifExists ()
 Does value exist?

void setValue (const char *a_Value)
 Sets value.


Detailed Description

The base class that all other SDP elements inherit from, excluding sdpTimeDescription, sdpMediaDescription, and sdpSessionDescription.


Member Function Documentation

void sdpElement::clear  
 

Clears value.

This method clears the values stored in the corresponding object.

Returns:
void

Reimplemented in sdpTime, sdpRepeatTimes, sdpOrigin, sdpTimezoneAdjustment, sdpEncryptionKey, sdpBandwidth, sdpConnection, sdpAttribute, sdpCryptoAttribute, and sdpMedia.

int sdpElement::getLen  
 

Returns value len.

This method returns the len of the value string stored in the cooresponding object.

Returns:
int - length of string containing object data

const char * sdpElement::getValue  
 

Returns value.

This method returns the value stored in the corresponding object.

Returns:
const char* - string containing object data

Reimplemented in sdpCryptoSessionParm.

bool sdpElement::ifExists  
 

Does value exist?

This method returns "true" if the value of the corresponding object has been set previously.

Returns:
bool - true if data has been set. false if not.

void sdpElement::setValue const char *    a_Value
 

Sets value.

This method sets the values stored in the corresponding object.

Parameters:
a_Value  - string containing data to set the object value to.
Returns:
void

Reimplemented in sdpCryptoSessionParm.


The documentation for this class was generated from the following files:
Generated on Fri Feb 17 18:17:54 2006 for SDP API by doxygen1.2.18