Contents User Forum Source Index APIs by Task APIs by Level Data


TextInput.h File Reference

Simple text lexer/tokenizer. More...

#include "G3D/platform.h"
#include "G3D/Array.h"
#include "G3D/Set.h"
#include <string>
#include <queue>
#include <ctype.h>
#include <stdio.h>

Namespaces

namespace  G3D

Classes

class  G3D::TextInput
 A simple style tokenizer for reading text files that also supports C++-like syntaxes. More...
class  G3D::TextInput::BadMSVCSpecial
 While parsing a number of the form 1. More...
class  G3D::TextInput::Settings
 Tokenizer configuration options. More...
class  G3D::TextInput::TokenException
class  G3D::TextInput::WrongString
 String read from input did not match expected string. More...
class  G3D::TextInput::WrongSymbol
class  G3D::TextInput::WrongTokenType
 Thrown by the read methods. More...
class  G3D::Token
 For use with TextInput. More...

Functions

void G3D::deserialize (std::string &b, TextInput &ti)
void G3D::deserialize (float &b, TextInput &ti)
void G3D::deserialize (double &b, TextInput &ti)
void G3D::deserialize (uint8 &b, TextInput &ti)
void G3D::deserialize (int &b, TextInput &ti)
void G3D::deserialize (bool &b, TextInput &ti)


Detailed Description

Simple text lexer/tokenizer.

Maintainer:
Morgan McGuire, morgan@graphics3d.com
Referenced Code:
Based on a lexer written by Aaron Orenstein.
Created:
2002-11-27
Last modified:
2006-10-24
Copyright 2000-2007, Morgan McGuire. All rights reserved.
Generated on Thu Aug 2 11:40:42 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo