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

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< QueryImpl > &h)

Protected Types

typedef QueryImpl Impl

Protected Attributes

Implimpl

Detailed Description

Definition at line 46 of file Query.h.


Member Typedef Documentation

typedef QueryImpl qmf::Handle< QueryImpl >::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< QueryImpl >::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< QueryImpl >::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< QueryImpl >::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< QueryImpl >::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< QueryImpl >::swap ( Handle< QueryImpl > &  h  )  [inline, inherited]

Definition at line 53 of file Handle.h.


Member Data Documentation

Impl* qmf::Handle< QueryImpl >::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 4 Dec 2014 for Qpid C++ Client API by doxygen 1.6.1