Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::framing::FrameSet Class Reference

Collects the frames representing a message. More...

#include <FrameSet.h>

List of all members.

Public Types

typedef boost::shared_ptr<
FrameSet
shared_ptr

Public Member Functions

 FrameSet (const SequenceNumber &id)
void append (const AMQFrame &part)
bool isComplete () const
uint64_t getContentSize () const
void getContent (std::string &) const
std::string getContent () const
bool isContentBearing () const
const AMQMethodBodygetMethod () const
const AMQHeaderBodygetHeaders () const
AMQHeaderBodygetHeaders ()
template<class T>
bool isA () const
template<class T>
const T * as () const
template<class T>
const T * getHeaderProperties () const
Frames::const_iterator begin () const
Frames::const_iterator end () const
const SequenceNumbergetId () const
template<class P>
void remove (P predicate)
template<class F>
void map (F &functor)
template<class F>
void map (F &functor) const
template<class F, class P>
void map_if (F &functor, P predicate)
template<class F, class P>
void map_if (F &functor, P predicate) const


Detailed Description

Collects the frames representing a message.

Definition at line 36 of file FrameSet.h.


Member Typedef Documentation

typedef boost::shared_ptr<FrameSet> qpid::framing::FrameSet::shared_ptr

Definition at line 45 of file FrameSet.h.


Constructor & Destructor Documentation

qpid::framing::FrameSet::FrameSet ( const SequenceNumber id  ) 


Member Function Documentation

void qpid::framing::FrameSet::append ( const AMQFrame part  ) 

template<class T>
const T* qpid::framing::FrameSet::as (  )  const [inline]

Definition at line 67 of file FrameSet.h.

References getMethod(), and qpid::framing::AMQMethodBody::isA().

Frames::const_iterator qpid::framing::FrameSet::begin (  )  const [inline]

Definition at line 77 of file FrameSet.h.

Frames::const_iterator qpid::framing::FrameSet::end (  )  const [inline]

Definition at line 78 of file FrameSet.h.

std::string qpid::framing::FrameSet::getContent (  )  const

void qpid::framing::FrameSet::getContent ( std::string &   )  const

uint64_t qpid::framing::FrameSet::getContentSize (  )  const

template<class T>
const T* qpid::framing::FrameSet::getHeaderProperties (  )  const [inline]

Definition at line 72 of file FrameSet.h.

References qpid::framing::AMQHeaderBody::get(), and getHeaders().

AMQHeaderBody* qpid::framing::FrameSet::getHeaders (  ) 

const AMQHeaderBody* qpid::framing::FrameSet::getHeaders (  )  const

Referenced by getHeaderProperties().

const SequenceNumber& qpid::framing::FrameSet::getId (  )  const [inline]

Definition at line 80 of file FrameSet.h.

const AMQMethodBody* qpid::framing::FrameSet::getMethod (  )  const

Referenced by as(), and isA().

template<class T>
bool qpid::framing::FrameSet::isA (  )  const [inline]

Definition at line 62 of file FrameSet.h.

References getMethod(), and qpid::framing::AMQMethodBody::isA().

bool qpid::framing::FrameSet::isComplete (  )  const

bool qpid::framing::FrameSet::isContentBearing (  )  const

template<class F>
void qpid::framing::FrameSet::map ( F &  functor  )  const [inline]

Definition at line 90 of file FrameSet.h.

template<class F>
void qpid::framing::FrameSet::map ( F &  functor  )  [inline]

Definition at line 86 of file FrameSet.h.

template<class F, class P>
void qpid::framing::FrameSet::map_if ( F &  functor,
predicate 
) const [inline]

Definition at line 100 of file FrameSet.h.

template<class F, class P>
void qpid::framing::FrameSet::map_if ( F &  functor,
predicate 
) [inline]

Definition at line 94 of file FrameSet.h.

template<class P>
void qpid::framing::FrameSet::remove ( predicate  )  [inline]

Definition at line 82 of file FrameSet.h.


The documentation for this class was generated from the following file:
Qpid C++ API Reference
Generated on Tue Dec 8 15:39:48 2009 for Qpid C++ Client API by doxygen 1.4.7