PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tokenizer Class Reference

#include "Utils.h"

Public Member Functions

 tokenizer (std::string xs, std::string xdelim)
 
bool has_more_tokens ()
 
std::string next_token ()
 

Private Attributes

std::string delim
 
std::string::size_type pos
 
std::string s
 

Detailed Description

Definition at line 37 of file Utils.h.

Constructor & Destructor Documentation

tokenizer::tokenizer ( std::string  xs,
std::string  xdelim 
)
inline

Definition at line 42 of file Utils.h.

References delim, pos, and s.

Member Function Documentation

bool tokenizer::has_more_tokens ( )
inline

Definition at line 46 of file Utils.h.

References pos.

Referenced by StringTokenizer::parse().

std::string tokenizer::next_token ( )
inline

Definition at line 50 of file Utils.h.

References delim, pos, and s.

Referenced by StringTokenizer::parse().

Member Data Documentation

std::string tokenizer::delim
private

Definition at line 38 of file Utils.h.

Referenced by next_token(), and tokenizer().

std::string::size_type tokenizer::pos
private

Definition at line 39 of file Utils.h.

Referenced by has_more_tokens(), next_token(), and tokenizer().

std::string tokenizer::s
private

Definition at line 38 of file Utils.h.

Referenced by next_token(), and tokenizer().


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