77 void Append(
const char *iString,
size_t iLength);
Kind
Definition: DtGLSLToken.h:32
Definition: DtGLSLToken.h:34
Definition: DtGLSLToken.h:35
int CountNL()
Count number of newlines in this token.
Definition: DtGLSLToken.h:37
Kind Type
Token type.
Definition: DtGLSLToken.h:50
char * Buffer
A memory-allocated string.
Definition: DtGLSLToken.h:58
Definition: DtGLSLToken.h:45
Definition: DtGLSLToken.h:42
void Append(const char *iString, size_t iLength)
Append a string to this token.
Definition: DtGLSLToken.h:44
size_t Length
Token length in bytes.
Definition: DtGLSLToken.h:61
const char * String
A pointer somewhere into the input buffer.
Definition: DtGLSLToken.h:56
A input token.
Definition: DtGLSLToken.h:29
Definition: DtGLSLToken.h:40
Definition: DtGLSLToken.h:46
bool GetValue(long &oValue) const
Get the numeric value of the token.
bool operator==(const DtGLSLToken &iOther) const
Test two tokens for equality.
void AppendNL(int iCount)
Append given number of newlines to this token.
Definition: DtGLSLToken.h:41
size_t Allocated
True if string was allocated (and must be freed)
Definition: DtGLSLToken.h:52
DtGLSLToken & operator=(const DtGLSLToken &iOther)
Assignment operator.
Definition: DtGLSLToken.h:36
Definition: DtGLSLToken.h:43
Definition: DtGLSLToken.h:38
Definition: DtGLSLToken.h:39
void SetValue(long iValue)
Set the numeric value of the token.