Files
OpenSceneGraph/doc/osg/Field.html
2001-01-10 16:32:10 +00:00

393 lines
14 KiB
HTML

<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::Field</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Field</A></H2>
<HR>
<DL>
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<A HREF="#DOC.2.10.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B></B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>FieldType</B>
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<A HREF="#DOC.2.10.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>Field</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>Field</B>(const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; field)
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~Field</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; <B>operator = </B>(const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; ic)
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>reset</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.8"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>addChar</B>(char c)
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.9"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>getNoCharacters</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setWithinQuotes</B>(bool withinQuotes=true)
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>getWithinQuotes</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setNoNestedBrackets</B>(int no)
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.13"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>getNoNestedBrackets</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.14"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> <B>getFieldType</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.15"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isValid</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.16"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isOpenBracket</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.17"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isCloseBracket</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.18"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isWord</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.19"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchWord</B>(const char* str) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.20"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchWord</B>(const char* str, int noCharacters) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.21"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isString</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.22"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchString</B>(const char* str) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.23"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchString</B>(const char* str, int noCharacters) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.24"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isQuotedString</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.25"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const char* <B>getStr</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.26"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>char* <B>takeStr</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.27"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isInt</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.28"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchInt</B>(int i) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.29"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>getInt</B>(int&amp; i) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.30"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isFloat</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.31"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchFloat</B>(float f) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.32"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>getFloat</B>(float&amp; f) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.33"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isDouble</B>() const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.34"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>matchDouble</B>(double f) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.35"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>getDouble</B>(double&amp; d) const
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.36"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>static <!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> <B>calculateFieldType</B>(const char* str, bool withinQuotes=false)
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<A HREF="#DOC.2.10.40"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>_fieldCacheCapacity</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.41"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>_fieldCacheSize</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.42"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>char* <B>_fieldCache</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.43"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>mutable <!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> <B>_fieldType</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.44"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>_withinQuotes</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.45"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>_noNestedBrackets</B>
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<A HREF="#DOC.2.10.37"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>_init</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.38"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>_free</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.10.39"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>_copy</B>(const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; ic)
<DD><I></I>
</DL></P>
</DL>
<A NAME="DOC.DOCU">
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="">
<A NAME="DOC.2.10.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum </B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="MIN_CACHE_SIZE">
<A NAME="DOC.2.10.1.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MIN_CACHE_SIZE</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="Field">
<A NAME="DOC.2.10.3">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Field()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Field">
<A NAME="DOC.2.10.4">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Field(const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; field)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Field">
<A NAME="DOC.2.10.5">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Field()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = ">
<A NAME="DOC.2.10.6">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; operator = (const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; ic)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="reset">
<A NAME="DOC.2.10.7">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reset()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addChar">
<A NAME="DOC.2.10.8">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addChar(char c)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getNoCharacters">
<A NAME="DOC.2.10.9">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getNoCharacters() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setWithinQuotes">
<A NAME="DOC.2.10.10">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setWithinQuotes(bool withinQuotes=true)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getWithinQuotes">
<A NAME="DOC.2.10.11">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getWithinQuotes()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setNoNestedBrackets">
<A NAME="DOC.2.10.12">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNoNestedBrackets(int no)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getNoNestedBrackets">
<A NAME="DOC.2.10.13">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getNoNestedBrackets()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="FieldType">
<A NAME="DOC.2.10.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum FieldType</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="OPEN_BRACKET">
<A NAME="DOC.2.10.2.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OPEN_BRACKET</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CLOSE_BRACKET">
<A NAME="DOC.2.10.2.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CLOSE_BRACKET</B></TT>
<DL><DT><DD></DL><P>
<A NAME="STRING">
<A NAME="DOC.2.10.2.3">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> STRING</B></TT>
<DL><DT><DD></DL><P>
<A NAME="WORD">
<A NAME="DOC.2.10.2.4">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> WORD</B></TT>
<DL><DT><DD></DL><P>
<A NAME="REAL">
<A NAME="DOC.2.10.2.5">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> REAL</B></TT>
<DL><DT><DD></DL><P>
<A NAME="INTEGER">
<A NAME="DOC.2.10.2.6">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> INTEGER</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BLANK">
<A NAME="DOC.2.10.2.7">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BLANK</B></TT>
<DL><DT><DD></DL><P>
<A NAME="UNINTIALISED">
<A NAME="DOC.2.10.2.8">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UNINTIALISED</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="getFieldType">
<A NAME="DOC.2.10.14">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> getFieldType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isValid">
<A NAME="DOC.2.10.15">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isValid() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isOpenBracket">
<A NAME="DOC.2.10.16">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isOpenBracket() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCloseBracket">
<A NAME="DOC.2.10.17">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isCloseBracket() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isWord">
<A NAME="DOC.2.10.18">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isWord() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchWord">
<A NAME="DOC.2.10.19">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchWord(const char* str) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchWord">
<A NAME="DOC.2.10.20">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchWord(const char* str, int noCharacters) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isString">
<A NAME="DOC.2.10.21">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isString() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchString">
<A NAME="DOC.2.10.22">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchString(const char* str) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchString">
<A NAME="DOC.2.10.23">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchString(const char* str, int noCharacters) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isQuotedString">
<A NAME="DOC.2.10.24">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isQuotedString() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getStr">
<A NAME="DOC.2.10.25">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const char* getStr() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="takeStr">
<A NAME="DOC.2.10.26">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char* takeStr()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isInt">
<A NAME="DOC.2.10.27">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isInt() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchInt">
<A NAME="DOC.2.10.28">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchInt(int i) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getInt">
<A NAME="DOC.2.10.29">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getInt(int&amp; i) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isFloat">
<A NAME="DOC.2.10.30">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isFloat() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchFloat">
<A NAME="DOC.2.10.31">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchFloat(float f) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFloat">
<A NAME="DOC.2.10.32">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getFloat(float&amp; f) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isDouble">
<A NAME="DOC.2.10.33">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isDouble() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="matchDouble">
<A NAME="DOC.2.10.34">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool matchDouble(double f) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDouble">
<A NAME="DOC.2.10.35">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getDouble(double&amp; d) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="calculateFieldType">
<A NAME="DOC.2.10.36">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> calculateFieldType(const char* str, bool withinQuotes=false)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_init">
<A NAME="DOC.2.10.37">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void _init()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_free">
<A NAME="DOC.2.10.38">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void _free()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_copy">
<A NAME="DOC.2.10.39">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void _copy(const <!1><A HREF="Field.html#DOC.2.10.4">Field</A>&amp; ic)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fieldCacheCapacity">
<A NAME="DOC.2.10.40">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _fieldCacheCapacity</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fieldCacheSize">
<A NAME="DOC.2.10.41">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _fieldCacheSize</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fieldCache">
<A NAME="DOC.2.10.42">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char* _fieldCache</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fieldType">
<A NAME="DOC.2.10.43">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="Field.html#DOC.2.10.2">FieldType</A> _fieldType</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_withinQuotes">
<A NAME="DOC.2.10.44">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _withinQuotes</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_noNestedBrackets">
<A NAME="DOC.2.10.45">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _noNestedBrackets</B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DD></DL><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I><P><HR>
<BR>
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>