48 return dynamic_cast<const T*
>(proto) != 0;
98 bool matchWord(
const char* str,
int noCharacters)
const;
165 bool _readField(
Field* fieldPtr);
174 bool findStartOfNextField();
176 int _noNestedBrackets;
178 bool _delimiterEatLookUp[256];
179 bool _delimiterKeepLookUp[256];
189 MINIMUM_FIELD_READER_QUEUE_SIZE = 10
254 Field* _previousField;
258 int _fieldQueueCapacity;
322 typedef std::map< std::string, osg::ref_ptr<osg::Object> > UniqueIDToObjectMapping;
323 UniqueIDToObjectMapping _uniqueIDToObjectMap;
Definition osgDB/Input:185
bool readSequence(osg::Vec3f &value)
bool readSequence(const char *keyword, osg::Vec2f &value)
bool readSequence(const char *keyword, osg::Vec4f &value)
void attach(std::istream *input)
bool readSequence(osg::Vec2d &value)
void advanceOverCurrentFieldOrBlock()
bool readSequence(osg::Vec4f &value)
bool readSequence(osg::Vec4d &value)
void advanceToEndOfCurrentBlock()
bool readSequence(const char *keyword, float &value)
bool readSequence(const char *keyword, int &value)
bool readSequence(const char *keyword, osg::Vec2d &value)
bool readSequence(const char *keyword, osg::Vec3f &value)
bool readSequence(unsigned int &value)
void insert(int pos, const char *str)
bool readSequence(osg::Vec2f &value)
bool readSequence(const char *keyword, std::string &value)
bool readSequence(float &value)
bool readSequence(int &value)
bool matchSequence(const char *str)
FieldReader & getFieldReader()
Definition osgDB/Input:203
virtual ~FieldReaderIterator()
void insert(int pos, Field *field)
bool readSequence(const char *keyword, osg::Vec3d &value)
FieldReaderIterator(const FieldReaderIterator &ic)
void advanceToEndOfBlock(int noNestBrackets)
bool readSequence(osg::Vec3d &value)
bool readSequence(std::string &value)
bool readSequence(const char *keyword, unsigned int &value)
bool readSequence(const char *keyword, osg::Vec4d &value)
Definition osgDB/Input:143
void attach(std::istream *input)
FieldReader(const FieldReader &ic)
bool readField(Field &fieldPtr)
int getNoNestedBrackets() const
Definition osgDB/Input:54
bool getFloat(float &f) const
bool matchInt(int i) const
const char * getStr() const
static FieldType calculateFieldType(const char *str, bool withinQuotes=false)
bool matchWord(const char *str, int noCharacters) const
bool isCloseBracket() const
FieldType
Definition osgDB/Input:78
@ CLOSE_BRACKET
Definition osgDB/Input:80
@ WORD
Definition osgDB/Input:82
@ REAL
Definition osgDB/Input:83
@ INTEGER
Definition osgDB/Input:84
@ OPEN_BRACKET
Definition osgDB/Input:79
@ STRING
Definition osgDB/Input:81
@ BLANK
Definition osgDB/Input:85
bool matchString(const char *str) const
void setNoNestedBrackets(int no)
void setWithinQuotes(bool withinQuotes=true)
int getNoNestedBrackets()
bool matchWord(const char *str) const
int _noNestedBrackets
Definition osgDB/Input:137
bool getFloat(double &f) const
FieldType getFieldType() const
bool isQuotedString() const
char * _fieldCache
Definition osgDB/Input:131
bool matchFloat(float f) const
bool getInt(int &i) const
void _copy(const Field &ic)
bool isOpenBracket() const
bool _withinQuotes
Definition osgDB/Input:135
bool matchUInt(unsigned int i) const
int _fieldCacheCapacity
Definition osgDB/Input:129
int _fieldCacheSize
Definition osgDB/Input:130
int getNoCharacters() const
Definition osgDB/Input:69
bool getUInt(unsigned int &i) const
Field(const Field &field)
bool matchString(const char *str, int noCharacters) const
FieldType _fieldType
Definition osgDB/Input:133
Definition ArgumentParser:32
Definition StateAttribute:77
#define OSGDB_EXPORT
Definition osgDB/Export:39
Definition osgDB/Input:33
virtual ~basic_type_wrapper()
Definition osgDB/Input:34
virtual bool matches(const osg::Object *proto) const =0
Definition osgDB/Input:45
bool matches(const osg::Object *proto) const
Definition osgDB/Input:46