33 #ifndef BESTokenizer_h_ 34 #define BESTokenizer_h_ 1 72 vector<string> tokens;
73 typedef vector<string>::iterator tokens_iterator;
74 typedef vector<string>::const_iterator tokens_citerator;
76 unsigned int _number_tokens;
92 virtual void dump(ostream &strm)
const;
95 #endif // BESTokenizer_h_ tokenizer for the BES request command string
string & get_next_token()
returns the next token from the token list
Base object for bes objects.
string & get_first_token()
returns the first token from the token list
string remove_quotes(const string &s)
removes quotes from a quoted token
string parse_container_name(const string &s, unsigned int &type)
parses a container name for constraint and attributes
void parse_error(const string &s="")
throws an exception giving the tokens up to the point of the problem
void tokenize(const char *p)
tokenize the BES request/command string
virtual void dump(ostream &strm) const
dumps information about this object
string & get_current_token()
returns the current token from the token list
void dump_tokens()
dump the tokens that have been tokenized in the order in which they are parsed.