reSIProcate/stack  9694
Public Member Functions | Private Member Functions | Private Attributes | Friends
resip::SdpContents::Session::Time::Repeat Class Reference

Repeat time. More...

#include <SdpContents.hxx>

List of all members.

Public Member Functions

 Repeat (unsigned long interval, unsigned long duration, std::list< int > offsets)
void parse (ParseBuffer &pb)
EncodeStreamencode (EncodeStream &) const
unsigned long getInterval () const
unsigned long getDuration () const
const std::list< int > getOffsets () const

Private Member Functions

 Repeat ()

Private Attributes

unsigned long mInterval
unsigned long mDuration
std::list< int > mOffsets

Friends

class Time

Detailed Description

Repeat time.

Not used for SIP

Definition at line 463 of file SdpContents.hxx.


Constructor & Destructor Documentation

resip::SdpContents::Session::Time::Repeat::Repeat ( unsigned long  interval,
unsigned long  duration,
std::list< int >  offsets 
)
resip::SdpContents::Session::Time::Repeat::Repeat ( ) [inline, private]

Definition at line 477 of file SdpContents.hxx.

{}

Member Function Documentation

EncodeStream & SdpContents::Session::Time::Repeat::encode ( EncodeStream s) const

Definition at line 703 of file SdpContents.cxx.

References CRLF, and resip::Symbols::SPACE.

{
   s << "r="
     << mInterval << Symbols::SPACE[0]
     << mDuration << 's';
   for (list<int>::const_iterator i = mOffsets.begin();
        i != mOffsets.end(); ++i)
   {
      s << Symbols::SPACE[0] << *i << 's';
   }

   s << Symbols::CRLF;
   return s;
}
unsigned long resip::SdpContents::Session::Time::Repeat::getDuration ( ) const [inline]

Definition at line 473 of file SdpContents.hxx.

References mDuration.

{return mDuration;}
unsigned long resip::SdpContents::Session::Time::Repeat::getInterval ( ) const [inline]

Definition at line 472 of file SdpContents.hxx.

References mInterval.

{return mInterval;}
const std::list<int> resip::SdpContents::Session::Time::Repeat::getOffsets ( ) const [inline]

Definition at line 474 of file SdpContents.hxx.

References mOffsets.

{return mOffsets;}
void SdpContents::Session::Time::Repeat::parse ( ParseBuffer pb)

Friends And Related Function Documentation

friend class Time [friend]

Definition at line 482 of file SdpContents.hxx.


Member Data Documentation

Definition at line 479 of file SdpContents.hxx.

Referenced by getDuration().

Definition at line 478 of file SdpContents.hxx.

Referenced by getInterval().

Definition at line 480 of file SdpContents.hxx.

Referenced by getOffsets().


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