Archon::X3D::VRML::Parser::Context Struct Reference

Inheritance diagram for Archon::X3D::VRML::Parser::Context:

Inheritance graph
[legend]
Collaboration diagram for Archon::X3D::VRML::Parser::Context:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RefObject< bool > BoolAttr
typedef RefObject< ustring > StringAttr

Public Member Functions

string printQuote (ustring s)
string printQuote (string utf8encoded)
void warning (string m)
void fieldValueWarning (string)
void lexerError ()
ustring lexer_string ()
int lexer_decInt ()
 Due to parsing of inlined images we need to be able to represent the full range of an unsigned 32 bit integer within a 32 bit signed integer.
int lexer_hexInt ()
 Due to parsing of inlined images we need to be able to represent the full range of an unsigned 32 bit integer within a 32 bit signed integer.
double lexer_float ()
ustring lexer_id ()
void parserError ()
string typeName (RefAny v)
bool extract (const RefAny &s, bool &t)
bool extract (const RefAny &s, string &t)
bool extract (const RefAny &s, int &t)
bool extract (const RefAny &s, double &t)
bool extract (const RefAny &s, Uri &t)
bool extract (const RefAny &s, Time &t)
bool extract (const RefAny &s, Ref< Node > &t)
void pushNodeInstance (const Ref< const StringAttr > &typeName)
Ref< const NodepopNodeInstance ()
void setField (const Ref< const StringAttr > &fieldName)
void checkMulti ()
void addValue (const RefAnyConst &v)
void assignValue ()
Ref< const BoolAttrparser_false ()
Ref< const BoolAttrparser_true ()
 Context (const Uri &uri, ProgressTracker *progressTracker, Logger *l)

Static Public Member Functions

template<typename T>
static FieldAssemblerBasenewFieldAssembler (const FieldType *f)

Public Attributes

Lexerlexer
Uri baseUri
ProgressTrackerprogressTracker
map< const FieldType *, FieldAssemblerBase *(*)()> newFieldAssemblers
vector< NodeEntrynodeStack

Classes

struct  FieldAssembler
 For any field that needs exactly one value component. More...
struct  FieldAssembler< AxisRot >
struct  FieldAssembler< Image >
struct  FieldAssembler< Vector2 >
struct  FieldAssembler< Vector3 >
struct  FieldAssembler< vector< Node * > >
struct  FieldAssembler< vector< T > >
struct  FieldAssemblerBase
struct  NodeEntry

Detailed Description

Definition at line 62 of file parse_vrml.C.


Member Function Documentation

bool Archon::X3D::VRML::Parser::Context::extract const RefAny s,
Uri t
[inline]
 

Todo:
Must we first check that ony 7-bit ascii chars are used?
Todo:
The default value is proberbly not right!

Definition at line 263 of file parse_vrml.C.

References baseUri, Archon::Utilities::Uri::explain(), fieldValueWarning(), Archon::Utilities::Ref< T >::get(), typeName(), and Archon::Utilities::RefObject< T >::value.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 23:03:51 2006 for Archon by  doxygen 1.4.4