class OSGDB_EXPORT osgDB::Field


Public Methods

[more] Field()
[more] Field(const Field& field)
[more]virtual ~Field()
[more]virtual Field& operator = (const Field& ic)
[more]void reset()
[more]void addChar(char c)
[more]int getNoCharacters() const
[more]void setWithinQuotes(bool withinQuotes=true)
[more]bool getWithinQuotes()
[more]void setNoNestedBrackets(int no)
[more]int getNoNestedBrackets()
[more]FieldType getFieldType() const
[more]bool isValid() const
[more]bool isOpenBracket() const
[more]bool isCloseBracket() const
[more]bool isWord() const
[more]bool matchWord(const char* str) const
[more]bool matchWord(const char* str, int noCharacters) const
[more]bool isString() const
[more]bool matchString(const char* str) const
[more]bool matchString(const char* str, int noCharacters) const
[more]bool isQuotedString() const
[more]const char* getStr() const
[more]char* takeStr()
[more]bool isInt() const
[more]bool matchInt(int i) const
[more]bool getInt(int& i) const
[more]bool isUInt() const
[more]bool matchUInt(osg::uint i) const
[more]bool getUInt(osg::uint& i) const
[more]bool isFloat() const
[more]bool matchFloat(float f) const
[more]bool getFloat(float& f) const
[more]bool isDouble() const
[more]bool matchDouble(double f) const
[more]bool getDouble(double& d) const
[more]static FieldType calculateFieldType(const char* str, bool withinQuotes=false)

Public Members

[more]enum
[more]enum FieldType

Protected Fields

[more]int _fieldCacheCapacity
[more]int _fieldCacheSize
[more]char* _fieldCache
[more]mutable FieldType _fieldType
[more]bool _withinQuotes
[more]int _noNestedBrackets

Protected Methods

[more]void _init()
[more]void _free()
[more]void _copy(const Field& ic)


Documentation

oenum

o MIN_CACHE_SIZE

o Field()

o Field(const Field& field)

ovirtual ~Field()

ovirtual Field& operator = (const Field& ic)

ovoid reset()

ovoid addChar(char c)

oint getNoCharacters() const

ovoid setWithinQuotes(bool withinQuotes=true)

obool getWithinQuotes()

ovoid setNoNestedBrackets(int no)

oint getNoNestedBrackets()

oenum FieldType

o OPEN_BRACKET

o CLOSE_BRACKET

o STRING

o WORD

o REAL

o INTEGER

o BLANK

o UNINTIALISED

oFieldType getFieldType() const

obool isValid() const

obool isOpenBracket() const

obool isCloseBracket() const

obool isWord() const

obool matchWord(const char* str) const

obool matchWord(const char* str, int noCharacters) const

obool isString() const

obool matchString(const char* str) const

obool matchString(const char* str, int noCharacters) const

obool isQuotedString() const

oconst char* getStr() const

ochar* takeStr()

obool isInt() const

obool matchInt(int i) const

obool getInt(int& i) const

obool isUInt() const

obool matchUInt(osg::uint i) const

obool getUInt(osg::uint& i) const

obool isFloat() const

obool matchFloat(float f) const

obool getFloat(float& f) const

obool isDouble() const

obool matchDouble(double f) const

obool getDouble(double& d) const

ostatic FieldType calculateFieldType(const char* str, bool withinQuotes=false)

ovoid _init()

ovoid _free()

ovoid _copy(const Field& ic)

oint _fieldCacheCapacity

oint _fieldCacheSize

ochar* _fieldCache

omutable FieldType _fieldType

obool _withinQuotes

oint _noNestedBrackets


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.