Public Types | Public Member Functions

Swift::JingleContentPayload Class Reference

Inheritance diagram for Swift::JingleContentPayload:
Collaboration diagram for Swift::JingleContentPayload:

List of all members.

Public Types

enum  Creator { UnknownCreator, InitiatorCreator, ResponderCreator }
typedef boost::shared_ptr
< JingleContentPayload
ref

Public Member Functions

Creator getCreator () const
void setCreator (Creator creator)
const std::string & getName () const
void setName (const std::string &name)
const std::vector
< JingleDescription::ref > & 
getDescriptions () const
void addDescription (JingleDescription::ref description)
const std::vector
< boost::shared_ptr
< JingleTransportPayload > > & 
getTransports () const
void addTransport (boost::shared_ptr< JingleTransportPayload > transport)
template<typename T >
boost::shared_ptr< T > getDescription () const
template<typename T >
boost::shared_ptr< T > getTransport () const

Detailed Description

Definition at line 18 of file JingleContentPayload.h.


Member Typedef Documentation

Reimplemented from Swift::Payload.

Definition at line 19 of file JingleContentPayload.h.


Member Enumeration Documentation

Enumerator:
UnknownCreator 
InitiatorCreator 
ResponderCreator 

Definition at line 21 of file JingleContentPayload.h.


Member Function Documentation

void Swift::JingleContentPayload::addDescription ( JingleDescription::ref  description  )  [inline]

Definition at line 54 of file JingleContentPayload.h.

void Swift::JingleContentPayload::addTransport ( boost::shared_ptr< JingleTransportPayload transport  )  [inline]

Definition at line 62 of file JingleContentPayload.h.

Creator Swift::JingleContentPayload::getCreator (  )  const [inline]

Definition at line 34 of file JingleContentPayload.h.

template<typename T >
boost::shared_ptr<T> Swift::JingleContentPayload::getDescription (  )  const [inline]

Definition at line 67 of file JingleContentPayload.h.

const std::vector<JingleDescription::ref>& Swift::JingleContentPayload::getDescriptions (  )  const [inline]

Definition at line 50 of file JingleContentPayload.h.

const std::string& Swift::JingleContentPayload::getName (  )  const [inline]

Definition at line 42 of file JingleContentPayload.h.

template<typename T >
boost::shared_ptr<T> Swift::JingleContentPayload::getTransport (  )  const [inline]

Definition at line 78 of file JingleContentPayload.h.

const std::vector<boost::shared_ptr<JingleTransportPayload> >& Swift::JingleContentPayload::getTransports (  )  const [inline]

Definition at line 58 of file JingleContentPayload.h.

void Swift::JingleContentPayload::setCreator ( Creator  creator  )  [inline]

Definition at line 38 of file JingleContentPayload.h.

void Swift::JingleContentPayload::setName ( const std::string &  name  )  [inline]

Definition at line 46 of file JingleContentPayload.h.