shawn::StrTok Class Reference

String tokenizer helper class. More...

#include <tokenize.h>

List of all members.

Public Types

typedef std::vector< std::string > Result
typedef std::vector
< std::string >::iterator 
iterator

Public Member Functions

 StrTok (const std::string &str, const std::string &delimiters)
StrTok::iterator begin ()
StrTok::iterator end ()
StrTok::Result::size_type size () const
const StrTok::Result tokens () const

Protected Attributes

Result res_


Detailed Description

String tokenizer helper class.

Member Typedef Documentation

typedef std::vector<std::string> shawn::StrTok::Result

typedef std::vector<std::string>::iterator shawn::StrTok::iterator


Constructor & Destructor Documentation

shawn::StrTok::StrTok ( const std::string &  str,
const std::string &  delimiters 
)


Member Function Documentation

StrTok::iterator shawn::StrTok::begin (  ) 

StrTok::iterator shawn::StrTok::end (  ) 

StrTok::Result::size_type shawn::StrTok::size (  )  const

const StrTok::Result shawn::StrTok::tokens (  )  const


Member Data Documentation


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

Generated on Sun Feb 5 00:01:05 2012 for Shawn by  doxygen 1.5.6