41 #define TT_STRING 1 // string
42 #define TT_LITERAL 2 // literal
43 #define TT_NUMBER 3 // number
44 #define TT_NAME 4 // name
45 #define TT_PUNCTUATION 5 // punctuation
48 #define TT_INTEGER 0x00001 // integer
49 #define TT_DECIMAL 0x00002 // decimal number
50 #define TT_HEX 0x00004 // hexadecimal number
51 #define TT_OCTAL 0x00008 // octal number
52 #define TT_BINARY 0x00010 // binary number
53 #define TT_LONG 0x00020 // long int
54 #define TT_UNSIGNED 0x00040 // unsigned int
55 #define TT_FLOAT 0x00080 // floating point number
56 #define TT_SINGLE_PRECISION 0x00100 // float
57 #define TT_DOUBLE_PRECISION 0x00200 // double
58 #define TT_EXTENDED_PRECISION 0x00400 // long double
59 #define TT_INFINITE 0x00800 // infinite 1.#INF
60 #define TT_INDEFINITE 0x01000 // indefinite 1.#IND
61 #define TT_NAN 0x02000 // NaN
62 #define TT_IPADDRESS 0x04000 // ip address
63 #define TT_IPPORT 0x08000 // ip port
64 #define TT_VALUESVALID 0x10000 // set if intvalue and floatvalue are valid
121 *
static_cast<idStr *
>(
this) = text;
125 *
static_cast<idStr *
>(
this) = text;
const char * whiteSpaceStart_p
void operator=(const idStr &text)
unsigned long GetUnsignedLongValue(void)
float GetFloatValue(void)
GLuint GLuint GLsizei GLenum type
void ClearTokenWhiteSpace(void)
void EnsureAlloced(int amount, bool keepold=true)
GLsizei GLsizei GLenum GLenum const GLvoid * data
const char * whiteSpaceEnd_p
GLubyte GLubyte GLubyte a
int WhiteSpaceBeforeToken(void) const
double GetDoubleValue(void)
void AppendDirty(const char a)