Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | Protected Types | Protected Attributes | List of all members
qmf::Data Class Reference

#include <qmf/Data.h>

Public Member Functions

 Data (DataImpl *impl=0)
 
 Data (const Data &)
 
Dataoperator= (const Data &)
 
 ~Data ()
 
 Data (const Schema &)
 
void setAddr (const DataAddr &)
 
void setProperty (const std::string &, const qpid::types::Variant &)
 
void overwriteProperties (const qpid::types::Variant::Map &)
 
bool hasSchema () const
 
bool hasAddr () const
 
const SchemaIdgetSchemaId () const
 
const DataAddrgetAddr () const
 
const qpid::types::VariantgetProperty (const std::string &) const
 
const qpid::types::Variant::MapgetProperties () const
 
bool hasAgent () const
 
const AgentgetAgent () const
 
QMF_INLINE_EXTERN bool isValid () const
 
QMF_INLINE_EXTERN bool isNull () const
 
QMF_INLINE_EXTERN operator bool () const
 Conversion to bool supports idiom if (handle) { handle->... More...
 
QMF_INLINE_EXTERN bool operator! () const
 Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. More...
 
void swap (Handle< DataImpl > &h)
 

Protected Types

typedef DataImpl Impl
 

Protected Attributes

Implimpl
 

Detailed Description

Definition at line 47 of file Data.h.

Member Typedef Documentation

◆ Impl

typedef DataImpl qmf::Handle< DataImpl >::Impl
protectedinherited

Definition at line 61 of file Handle.h.

Constructor & Destructor Documentation

◆ Data() [1/3]

qmf::Data::Data ( DataImpl *  impl = 0)

◆ Data() [2/3]

qmf::Data::Data ( const Data )

◆ ~Data()

qmf::Data::~Data ( )

◆ Data() [3/3]

qmf::Data::Data ( const Schema )

Member Function Documentation

◆ getAddr()

const DataAddr& qmf::Data::getAddr ( ) const

◆ getAgent()

const Agent& qmf::Data::getAgent ( ) const

◆ getProperties()

const qpid::types::Variant::Map& qmf::Data::getProperties ( ) const

◆ getProperty()

const qpid::types::Variant& qmf::Data::getProperty ( const std::string &  ) const

◆ getSchemaId()

const SchemaId& qmf::Data::getSchemaId ( ) const

◆ hasAddr()

bool qmf::Data::hasAddr ( ) const

◆ hasAgent()

bool qmf::Data::hasAgent ( ) const

◆ hasSchema()

bool qmf::Data::hasSchema ( ) const

◆ isNull()

QMF_INLINE_EXTERN bool qmf::Handle< DataImpl >::isNull ( ) const
inlineinherited
Returns
true if handle is null. It is an error to call any function on a null handle.

Definition at line 50 of file Handle.h.

◆ isValid()

QMF_INLINE_EXTERN bool qmf::Handle< DataImpl >::isValid ( ) const
inlineinherited
Returns
true if handle is valid, i.e. not null.

Definition at line 47 of file Handle.h.

◆ operator bool()

QMF_INLINE_EXTERN qmf::Handle< DataImpl >::operator bool ( ) const
inlineinherited

Conversion to bool supports idiom if (handle) { handle->...

}

Definition at line 53 of file Handle.h.

◆ operator!()

QMF_INLINE_EXTERN bool qmf::Handle< DataImpl >::operator! ( ) const
inlineinherited

Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.

Definition at line 56 of file Handle.h.

◆ operator=()

Data& qmf::Data::operator= ( const Data )

◆ overwriteProperties()

void qmf::Data::overwriteProperties ( const qpid::types::Variant::Map )

◆ setAddr()

void qmf::Data::setAddr ( const DataAddr )

◆ setProperty()

void qmf::Data::setProperty ( const std::string &  ,
const qpid::types::Variant  
)

◆ swap()

void qmf::Handle< DataImpl >::swap ( Handle< DataImpl > &  h)
inlineinherited

Definition at line 58 of file Handle.h.

Member Data Documentation

◆ impl

Impl* qmf::Handle< DataImpl >::impl
protectedinherited

Definition at line 68 of file Handle.h.


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

Qpid C++ API Reference
Generated on Fri Aug 11 2023 for Qpid C++ Client API by doxygen 1.8.14