MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
mongo::StringSplitter Class Reference

Public Member Functions

 StringSplitter (const char *big, const char *splitter)
bool more () const
std::string next ()
 get next split string fragment
void split (std::vector< std::string > &l)
std::vector< std::string > split ()

Static Public Member Functions

static std::vector< std::string > split (const std::string &big, const std::string &splitter)
static std::string join (const std::vector< std::string > &l, const std::string &split)

Constructor & Destructor Documentation

mongo::StringSplitter::StringSplitter ( const char *  big,
const char *  splitter 
bigthe string to be split
splitterthe delimiter

Member Function Documentation

bool mongo::StringSplitter::more ( ) const
true if more to be taken via next()

The documentation for this class was generated from the following files: