Public Member Functions | Private Member Functions | Private Attributes | Friends
mongo_ros::ResultIterator< M > Class Template Reference

#include <query_results.h>

List of all members.

Public Member Functions

 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.
 ResultIterator (const ResultIterator &rhs)
 Copy constructor.
 ResultIterator ()
 Constructor for past_the_end iterator.

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)

Copy constructor.

Definition at line 68 of file query_results_impl.hpp.

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

Constructor for past_the_end iterator.

Definition at line 62 of file query_results_impl.hpp.


Member Function Documentation

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

Definition at line 86 of file query_results_impl.hpp.

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

Definition at line 112 of file query_results_impl.hpp.

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

Definition at line 75 of file query_results_impl.hpp.


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:


warehouse_ros
Author(s): Bhaskara Marthi
autogenerated on Wed Aug 26 2015 16:44:56