source: trunk/FACT++/dim_v19r19/dim/tokenstring.hxx@ 10492

Last change on this file since 10492 was 10480, checked in by tbretz, 14 years ago
New version V19r19 with some important bug fixes.
File size: 567 bytes
Line 
1#ifndef __TOKENSTRINGDEFS
2#define __TOKENSTRINGDEFS
3#include <string.h>
4#include "dim_core.hxx"
5
6class DllExp TokenString
7{
8public:
9
10 TokenString(char *str);
11 TokenString(char *str, char *seps);
12 ~TokenString();
13 int getToken(char *&token);
14 void pushToken();
15 void popToken();
16 int cmpToken(char *str);
17 int firstToken();
18 int getNTokens();
19 int getNTokens(char *str);
20
21private:
22 void store_str(char *str);
23 char *token_buff;
24 char *token_ptr;
25 char *curr_token_ptr;
26 char *push_token_ptr;
27 char *token_seps;
28 int n_tokens;
29};
30
31#endif
Note: See TracBrowser for help on using the repository browser.