$search

mongo_ros::ResultIterator< M > Class Template Reference

#include <query_results.h>

List of all members.

Public Member Functions

 ResultIterator ()
 Constructor for past_the_end iterator.
 ResultIterator (const ResultIterator &rhs)
 Copy constructor.
 ResultIterator (boost::shared_ptr< mongo::DBClientConnection > conn, const std::string &ns, const mongo::Query &query, boost::shared_ptr< mongo::GridFS > gfs, bool metadata_only)
 Constructor.

Private Member Functions

MessageWithMetadata< M >::ConstPtr dereference () const
bool equal (const ResultIterator< M > &other) const
void increment ()

Private Attributes

CursorPtr cursor_
boost::shared_ptr< mongo::GridFS > gfs_
const bool metadata_only_
boost::optional< mongo::BSONObj > next_

Friends

class boost::iterator_core_access

Detailed Description

template<class M>
class mongo_ros::ResultIterator< M >

Definition at line 54 of file query_results.h.


Constructor & Destructor Documentation

template<class M>
mongo_ros::ResultIterator< M >::ResultIterator ( boost::shared_ptr< mongo::DBClientConnection >  conn,
const std::string &  ns,
const mongo::Query &  query,
boost::shared_ptr< mongo::GridFS >  gfs,
bool  metadata_only 
)

Constructor.

template<class M >
mongo_ros::ResultIterator< M >::ResultIterator ( const ResultIterator< M > &  rhs  )  [inline]

Copy constructor.

Definition at line 68 of file query_results_impl.h.

template<class M >
mongo_ros::ResultIterator< M >::ResultIterator (  )  [inline]

Constructor for past_the_end iterator.

Definition at line 62 of file query_results_impl.h.


Member Function Documentation

template<class M >
MessageWithMetadata< M >::ConstPtr mongo_ros::ResultIterator< M >::dereference (  )  const [inline, private]

Definition at line 86 of file query_results_impl.h.

template<class M >
bool mongo_ros::ResultIterator< M >::equal ( const ResultIterator< M > &  other  )  const [inline, private]

Definition at line 112 of file query_results_impl.h.

template<class M >
void mongo_ros::ResultIterator< M >::increment (  )  [inline, private]

Definition at line 75 of file query_results_impl.h.


Friends And Related Function Documentation

template<class M>
friend class boost::iterator_core_access [friend]

Definition at line 77 of file query_results.h.


Member Data Documentation

template<class M>
CursorPtr mongo_ros::ResultIterator< M >::cursor_ [private]

Definition at line 85 of file query_results.h.

template<class M>
boost::shared_ptr<mongo::GridFS> mongo_ros::ResultIterator< M >::gfs_ [private]

Definition at line 87 of file query_results.h.

template<class M>
const bool mongo_ros::ResultIterator< M >::metadata_only_ [private]

Definition at line 84 of file query_results.h.

template<class M>
boost::optional<mongo::BSONObj> mongo_ros::ResultIterator< M >::next_ [private]

Definition at line 86 of file query_results.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


mongo_ros
Author(s): Bhaskara Marthi
autogenerated on Sat Mar 2 14:18:38 2013