#include "token_stream.h"
#include "common/wave_ex.h"
Go to the source code of this file.
Functions | |
static bool | isBogus (char a) |
void | getNextToken (std::istream &stream, std::string &token, bool respect_quotes, bool *eof) |
void | expectToken (std::istream &stream, const char *expect) |
float | readFloat (std::istream &stream, std::string &token) |
int | readInteger (std::istream &stream, std::string &token) |
long | readLong (std::istream &stream, std::string &token) |
short | readShort (std::istream &stream, std::string &token) |
static bool isBogus | ( | char | a | ) | [static] |
Definition at line 48 of file token_stream.cpp.
void expectToken | ( | std::istream & | stream, | |
const char * | expect | |||
) |
Definition at line 157 of file token_stream.cpp.
float readFloat | ( | std::istream & | stream, | |
std::string & | token | |||
) |
Definition at line 182 of file token_stream.cpp.
int readInteger | ( | std::istream & | stream, | |
std::string & | token | |||
) |
Definition at line 196 of file token_stream.cpp.
long readLong | ( | std::istream & | stream, | |
std::string & | token | |||
) |
Definition at line 210 of file token_stream.cpp.
short readShort | ( | std::istream & | stream, | |
std::string & | token | |||
) |
Definition at line 224 of file token_stream.cpp.