Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | List of all members
qpid::framing::EncodedValue< T > Class Template Referenceabstract

#include <qpid/framing/FieldValue.h>

Public Member Functions

 EncodedValue ()
 
 EncodedValue (const T &v)
 
T & getValue ()
 
const T & getValue () const
 
uint32_t encodedSize () const
 
void encode (Buffer &buffer)
 
void decode (Buffer &buffer)
 
bool operator== (const Data &d) const
 
void print (std::ostream &o) const
 
virtual bool operator== (const Data &) const =0
 
virtual bool convertsToInt () const
 
virtual bool convertsToString () const
 
virtual int64_t getInt () const
 
virtual std::string getString () const
 

Detailed Description

template<class T>
class qpid::framing::EncodedValue< T >

Definition at line 301 of file FieldValue.h.

Constructor & Destructor Documentation

template<class T>
qpid::framing::EncodedValue< T >::EncodedValue ( )
inline

Definition at line 305 of file FieldValue.h.

template<class T>
qpid::framing::EncodedValue< T >::EncodedValue ( const T &  v)
inline

Definition at line 306 of file FieldValue.h.

Member Function Documentation

virtual bool qpid::framing::FieldValue::Data::convertsToInt ( ) const
inlinevirtualinherited
virtual bool qpid::framing::FieldValue::Data::convertsToString ( ) const
inlinevirtualinherited

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >, and qpid::framing::UuidData.

Definition at line 76 of file FieldValue.h.

template<class T>
void qpid::framing::EncodedValue< T >::decode ( Buffer buffer)
inlinevirtual

Implements qpid::framing::FieldValue::Data.

Definition at line 316 of file FieldValue.h.

template<class T>
void qpid::framing::EncodedValue< T >::encode ( Buffer buffer)
inlinevirtual

Implements qpid::framing::FieldValue::Data.

Definition at line 313 of file FieldValue.h.

template<class T>
uint32_t qpid::framing::EncodedValue< T >::encodedSize ( ) const
inlinevirtual

Implements qpid::framing::FieldValue::Data.

Definition at line 311 of file FieldValue.h.

virtual int64_t qpid::framing::FieldValue::Data::getInt ( ) const
inlinevirtualinherited
virtual std::string qpid::framing::FieldValue::Data::getString ( ) const
inlinevirtualinherited

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >, and qpid::framing::UuidData.

Definition at line 78 of file FieldValue.h.

template<class T>
T& qpid::framing::EncodedValue< T >::getValue ( )
inline

Definition at line 308 of file FieldValue.h.

Referenced by qpid::framing::FieldValue::get(), and qpid::framing::getEncodedValue().

template<class T>
const T& qpid::framing::EncodedValue< T >::getValue ( ) const
inline

Definition at line 309 of file FieldValue.h.

virtual bool qpid::framing::FieldValue::Data::operator== ( const Data ) const
pure virtualinherited
template<class T>
bool qpid::framing::EncodedValue< T >::operator== ( const Data &  d) const
inline

Definition at line 319 of file FieldValue.h.

template<class T>
void qpid::framing::EncodedValue< T >::print ( std::ostream &  o) const
inlinevirtual

Implements qpid::framing::FieldValue::Data.

Definition at line 325 of file FieldValue.h.


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

Qpid C++ API Reference
Generated on Thu Feb 14 2013 for Qpid C++ Client API by doxygen 1.8.3