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::Query Class Reference

#include <qmf/Query.h>

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->... More...
 
QMF_INLINE_EXTERN bool operator! () const
 Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. More...
 
void swap (Handle< QueryImpl > &h)
 

Protected Types

typedef QueryImpl Impl
 

Protected Attributes

Implimpl
 

Detailed Description

Definition at line 51 of file Query.h.

Member Typedef Documentation

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

Definition at line 61 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
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.

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

Definition at line 47 of file Handle.h.

bool qmf::Query::matchesPredicate ( const qpid::types::Variant::Map map) const
QMF_INLINE_EXTERN qmf::Handle< QueryImpl >::operator bool ( ) const
inlineinherited

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

}

Definition at line 53 of file Handle.h.

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

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

Definition at line 56 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)
inlineinherited

Definition at line 58 of file Handle.h.

Member Data Documentation

Impl* qmf::Handle< QueryImpl >::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 Tue Oct 28 2014 for Qpid C++ Client API by doxygen 1.8.5