|
Index
C++ Code Documentation
vrml::Parser
Derived from: vrml::Lexer
Children: geom::io::VrmlRead
File: BASE/vrml/Parser.H
public:
- Parser();
- virtual ~Parser();
- void read( io::Istream &in );
protected:
- virtual void error( char const *message );
- struct Material;
- struct Light;
- type;
- Real ambientIntensity;
- Real attenuation[3];
- Real beamWidth;
- Real color[3];
- Real cutOffAngle;
- Real direction[3];
- Real intensity;
- Real location[3];
- bool on;
- Real radius;
- };
- struct IndexedFaceSet;
- struct Background;
- virtual void material( Material const & );
- virtual void light( Light const & );
- virtual void indexedFaceSet( IndexedFaceSet const & );
- virtual void background( Background const & );
- enum FieldType;
- void addNode();
- void beginProto(base::String const &);
- void endProto();
- void addField(base::String const &type, base::String const &name);
- void addEventIn(base::String const &type, base::String const &name);
- void addEventOut(base::String const &type, base::String const &name);
- void addExposedField(base::String const &type, base::String const &name);
- void setFieldDefault(base::String const &fieldName);
- void enterNode(base::String const &name);
- void exitNode(base::String const &name);
- void enterField(base::String const &name);
- void exitField(base::String const &name, LvalStruct const & );
- void addScriptEventIn(base::String const &type, base::String const &name);
- void addScriptEventOut(base::String const &type, base::String const &name);
- void enterScriptField(base::String const &type, base::String const &name);
- void exitScriptField();
- void addRoute(base::String const &, base::String const &, base::String const &, base::String const &);
- void addIS(base::String const &);
- void addEventIS(base::String const &, base::String const &);
- void setExpect(FieldType type);
- void setExpect(base::String const &fieldType, int flag);
- std::slist<base::String> currentNode;
- int parse();
private:
- Material _material;
- Light _light;
- IndexedFaceSet _indexedFaceSet;
- Background _background;
- void set( Real [], Real, uint n );
- void copy( Real [], Real const [], uint n );
- void resetLight();
- virtual void cleanup();
- static int const FINAL;
- static int const FLAG;
- static int const NTBASE;
- static int const LAST;
- static int const EMPTY;
- static int const EOF_;
- static int const TERROR;
- static int const ERRCODE;
- static int const INITDEPTH;
- static size_t const MAXDEPTH;
- static UCHAR const translate[];
- static short const r1[];
- static short const r2[];
- static short const defact[];
- static short const defgoto[];
- static short const pact[];
- static short const pgoto[];
- static short const table[];
- static short const check[];
- int TRANSLATE( int x);
- Parser( Parser const & );
 | disabled | |
- Parser &operator=( Parser const & );
 | disabled | |
|