mongo::ChunkRange Class Reference

#include <chunk.h>

List of all members.

Public Member Functions

 ChunkRange (const ChunkRange &min, const ChunkRange &max)
 ChunkRange (ChunkMap::const_iterator begin, const ChunkMap::const_iterator end)
bool contains (const BSONObj &obj) const
const ChunkManagergetManager () const
const BSONObjgetMax () const
const BSONObjgetMin () const
Shard getShard () const

Private Attributes

const ChunkManager_manager
const BSONObj _max
const BSONObj _min
const Shard _shard

Friends

ostream & operator<< (ostream &out, const ChunkRange &cr)

Detailed Description

Definition at line 222 of file chunk.h.


Constructor & Destructor Documentation

mongo::ChunkRange::ChunkRange ( ChunkMap::const_iterator  begin,
const ChunkMap::const_iterator  end 
) [inline]

Definition at line 233 of file chunk.h.

mongo::ChunkRange::ChunkRange ( const ChunkRange min,
const ChunkRange max 
) [inline]

Definition at line 248 of file chunk.h.


Member Function Documentation

bool mongo::ChunkRange::contains ( const BSONObj obj  )  const
const ChunkManager* mongo::ChunkRange::getManager (  )  const [inline]

Definition at line 224 of file chunk.h.

const BSONObj& mongo::ChunkRange::getMax (  )  const [inline]

Definition at line 228 of file chunk.h.

const BSONObj& mongo::ChunkRange::getMin (  )  const [inline]

Definition at line 227 of file chunk.h.

Shard mongo::ChunkRange::getShard (  )  const [inline]

Definition at line 225 of file chunk.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const ChunkRange cr 
) [friend]

Definition at line 258 of file chunk.h.


Member Data Documentation

Definition at line 263 of file chunk.h.

Definition at line 266 of file chunk.h.

Definition at line 265 of file chunk.h.

Definition at line 264 of file chunk.h.


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


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:54 2013