COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Token.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef __TOKEN_INCLUDED
9 #define __TOKEN_INCLUDED
10 
11 #include "coExport.h"
12 
13 namespace covise
14 {
15 
17 {
18 private:
19  char *string;
20  char *position;
21 
22 public:
23  Token(const char *s);
24  char *next(); // returns next token, \n separated
25  char *nextSpace(); // returns next token, \n or space separated
26  ~Token();
27 };
28 }
29 #endif
GLdouble s
Definition: khronos-glext.h:6441
#define UTILEXPORT
Definition: coExport.h:182
char * string
Definition: Token.h:19
char * position
Definition: Token.h:20
Definition: Token.h:16