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

#include <qmf/Query.h>

List of all members.

Public Member Functions

 Query (QueryImpl *impl=0)
 Query (const Query &)
Queryoperator= (const Query &)
 ~Query ()
 Query (QueryTarget, const std::string &predicate="")
 Query (QueryTarget, const std::string &className, const std::string &package, const std::string &predicate="")
 Query (QueryTarget, const SchemaId &, const std::string &predicate="")
 Query (const DataAddr &)
QueryTarget getTarget () const
const DataAddrgetDataAddr () const
const SchemaIdgetSchemaId () const
void setPredicate (const qpid::types::Variant::List &)
const qpid::types::Variant::ListgetPredicate () const
bool matchesPredicate (const qpid::types::Variant::Map &map) 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->...
QMF_INLINE_EXTERN bool operator! () const
 Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
void swap (Handle< T > &h)

Protected Types

typedef T Impl

Protected Attributes

Implimpl

Member Typedef Documentation

typedef T qmf::Handle::Impl [protected, inherited]

Definition at line 56 of file Handle.h.


Constructor & Destructor Documentation

qmf::Query::Query ( QueryImpl *  impl = 0)
qmf::Query::Query ( const Query )
qmf::Query::~Query ( )
qmf::Query::Query ( QueryTarget  ,
const std::string predicate = "" 
)
qmf::Query::Query ( QueryTarget  ,
const std::string className,
const std::string package,
const std::string predicate = "" 
)
qmf::Query::Query ( QueryTarget  ,
const SchemaId ,
const std::string predicate = "" 
)
qmf::Query::Query ( const DataAddr )

Member Function Documentation

const DataAddr& qmf::Query::getDataAddr ( ) const
const qpid::types::Variant::List& qmf::Query::getPredicate ( ) const
const SchemaId& qmf::Query::getSchemaId ( ) const
QueryTarget qmf::Query::getTarget ( ) const
QMF_INLINE_EXTERN bool qmf::Handle::isNull ( ) const [inline, inherited]
Returns:
true if handle is null. It is an error to call any function on a null handle.

Definition at line 45 of file Handle.h.

QMF_INLINE_EXTERN bool qmf::Handle::isValid ( ) const [inline, inherited]
Returns:
true if handle is valid, i.e. not null.

Definition at line 42 of file Handle.h.

bool qmf::Query::matchesPredicate ( const qpid::types::Variant::Map map) const
QMF_INLINE_EXTERN qmf::Handle::operator bool ( ) const [inline, inherited]

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

}

Definition at line 48 of file Handle.h.

QMF_INLINE_EXTERN bool qmf::Handle::operator! ( ) const [inline, inherited]

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

Definition at line 51 of file Handle.h.

Query& qmf::Query::operator= ( const Query )
void qmf::Query::setPredicate ( const qpid::types::Variant::List )
void qmf::Handle::swap ( Handle< T > &  h) [inline, inherited]

Definition at line 53 of file Handle.h.


Member Data Documentation

Impl* qmf::Handle::impl [protected, inherited]

Definition at line 63 of file Handle.h.


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

Qpid C++ API Reference
Generated on Thu Aug 23 2012 for Qpid C++ Client API by doxygen 1.7.5