Functions

token_stream.cpp File Reference

#include "token_stream.h"
#include "common/wave_ex.h"
Include dependency graph for token_stream.cpp:

Go to the source code of this file.

Functions

static bool isBogus (IN char a)
void getNextToken (IO std::istream &stream, OUT std::string &token, IN bool respect_quotes, IN bool *eof)
void expectToken (IO std::istream &stream, IN const char *expect)
float readFloat (IN std::istream &stream, IO std::string &token)
int readInteger (IN std::istream &stream, IO std::string &token)
long readLong (IN std::istream &stream, IO std::string &token)
short readShort (IN std::istream &stream, IO std::string &token)

Function Documentation

static bool isBogus ( IN char  a  )  [static]

Definition at line 48 of file token_stream.cpp.

void expectToken ( IO std::istream &  stream,
IN const char *  expect 
)

Definition at line 157 of file token_stream.cpp.

float readFloat ( IN std::istream &  stream,
IO std::string &  token 
)

Definition at line 182 of file token_stream.cpp.

int readInteger ( IN std::istream &  stream,
IO std::string &  token 
)

Definition at line 196 of file token_stream.cpp.

long readLong ( IN std::istream &  stream,
IO std::string &  token 
)

Definition at line 210 of file token_stream.cpp.

short readShort ( IN std::istream &  stream,
IO std::string &  token 
)

Definition at line 224 of file token_stream.cpp.