OpenSceneGraph/doc/doc++/osg/TemplateIndexArray.html
Robert Osfield ed10594139 Updated docs
2004-08-06 06:53:36 +00:00

243 lines
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateIndexArray</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>template&lt;typename <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A>, Array::Type ARRAYTYPE, int DataSize, int DataType&gt; class <A HREF="#DOC.DOCU">osg::TemplateIndexArray</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=185>
<param name=classes value="Mstd::vector,M,CReferenced,MReferenced.html,CObject,MObject.html,CArray,MArray.html,CIndexArray,MIndexArray.html,CTemplateIndexArray,MTemplateIndexArray.html">
<param name=before value="M,M,M,M,M,M">
<param name=after value="Ml_,Md_SPSP||,Md_SP||,Md_||,MD_,M">
<param name=indent value="3,0,1,2,3,4">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.1">TemplateIndexArray</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.2">TemplateIndexArray</A></B>(const <!1><A HREF="TemplateIndexArray.html#DOC.2.18.2">TemplateIndexArray</A>&amp; ta, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.3">TemplateIndexArray</A></B>(unsigned int no)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.4">TemplateIndexArray</A></B>(unsigned int no, <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A>* <!1><A HREF="Vec4f.html#DOC.2.274.9">ptr</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>template&lt;class InputIterator&gt; <B><A HREF="#DOC.2.18.5">TemplateIndexArray</A></B>(InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.3">first</A>, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.4">last</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TemplateIndexArray.html">TemplateIndexArray</A>&amp; <B><A HREF="#DOC.2.18.6">operator = </A></B>(const <!1><A HREF="TemplateIndexArray.html">TemplateIndexArray</A>&amp; <!1><A HREF="Geometry.html#DOC.2.108.13.7">array</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.18.7">cloneType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.18.8">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline virtual void <B><A HREF="#DOC.2.18.9">accept</A></B>(<!1><A HREF="ArrayVisitor.html">ArrayVisitor</A>&amp; av)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline virtual void <B><A HREF="#DOC.2.18.10">accept</A></B>(<!1><A HREF="ConstArrayVisitor.html">ConstArrayVisitor</A>&amp; av) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline virtual void <B><A HREF="#DOC.2.18.11">accept</A></B>(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A>, <!1><A HREF="ValueVisitor.html">ValueVisitor</A>&amp; vv)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline virtual void <B><A HREF="#DOC.2.18.12">accept</A></B>(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A>, <!1><A HREF="ConstValueVisitor.html">ConstValueVisitor</A>&amp; vv) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.2.18.13">compare</A></B>(unsigned int lhs, unsigned int rhs) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const GLvoid* <B><A HREF="#DOC.2.18.14">getDataPointer</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.18.15">getTotalDataSize</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.18.16">getNumElements</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.18.17">index</A></B>(unsigned int pos) const
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.18.18">~TemplateIndexArray</A></B>()
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="IndexArray.html">IndexArray</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>isSameKindAs</B>(const <!1><A HREF="Object.html">Object</A>* obj) const
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Array.html">Array</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>Type</B>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>libraryName</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>className</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Array.html#DOC.2.15.1">Type</A> <B>getType</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>GLint <B>getDataSize</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>GLenum <B>getDataType</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Array.html#DOC.2.15.1">Type</A> <B>_arrayType</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>GLint <B>_dataSize</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>GLenum <B>_dataType</B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> dv)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> <B>getDataVariance</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setUserData</B>(<!1><A HREF="Referenced.html">Referenced</A>* obj)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> <B>_dataVariance</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="Referenced.html">Referenced</A>&gt; <B>_userData</B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>static void <B>setDeleteHandler</B>(<!1><A HREF="DeleteHandler.html">DeleteHandler</A>* handler)
<DT>
<IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="DeleteHandler.html">DeleteHandler</A>* <B>getDeleteHandler</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline int <B>referenceCount</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>mutable OpenThreads::Mutex <B>_refMutex</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="TemplateIndexArray"></A>
<A NAME="DOC.2.18.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TemplateIndexArray()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TemplateIndexArray"></A>
<A NAME="DOC.2.18.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TemplateIndexArray(const <!1><A HREF="TemplateIndexArray.html#DOC.2.18.2">TemplateIndexArray</A>&amp; ta, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TemplateIndexArray"></A>
<A NAME="DOC.2.18.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TemplateIndexArray(unsigned int no)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TemplateIndexArray"></A>
<A NAME="DOC.2.18.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TemplateIndexArray(unsigned int no, <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A>* <!1><A HREF="Vec4f.html#DOC.2.274.9">ptr</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TemplateIndexArray"></A>
<A NAME="DOC.2.18.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>template&lt;class InputIterator&gt; TemplateIndexArray(InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.3">first</A>, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.4">last</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.18.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TemplateIndexArray.html">TemplateIndexArray</A>&amp; operator = (const <!1><A HREF="TemplateIndexArray.html">TemplateIndexArray</A>&amp; <!1><A HREF="Geometry.html#DOC.2.108.13.7">array</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.2.18.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.18.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.2.18.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline virtual void accept(<!1><A HREF="ArrayVisitor.html">ArrayVisitor</A>&amp; av)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.2.18.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline virtual void accept(<!1><A HREF="ConstArrayVisitor.html">ConstArrayVisitor</A>&amp; av) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.2.18.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline virtual void accept(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A>, <!1><A HREF="ValueVisitor.html">ValueVisitor</A>&amp; vv)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.2.18.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline virtual void accept(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A>, <!1><A HREF="ConstValueVisitor.html">ConstValueVisitor</A>&amp; vv) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="compare"></A>
<A NAME="DOC.2.18.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual int compare(unsigned int lhs, unsigned int rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDataPointer"></A>
<A NAME="DOC.2.18.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const GLvoid* getDataPointer() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTotalDataSize"></A>
<A NAME="DOC.2.18.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int getTotalDataSize() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getNumElements"></A>
<A NAME="DOC.2.18.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int getNumElements() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="index"></A>
<A NAME="DOC.2.18.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int index(unsigned int pos) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="~TemplateIndexArray"></A>
<A NAME="DOC.2.18.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~TemplateIndexArray()</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><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>
</HTML>