Public Member Functions | |
TemplateIndexArray () | |
TemplateIndexArray (const TemplateIndexArray &ta, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
TemplateIndexArray (unsigned int no) | |
TemplateIndexArray (unsigned int no, T *ptr) | |
template<class InputIterator> | |
TemplateIndexArray (InputIterator first, InputIterator last) | |
TemplateIndexArray & | operator= (const TemplateIndexArray &array) |
virtual Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual Object * | clone (const CopyOp ©op) const |
Clone an object, with Object* return type. | |
virtual void | accept (ArrayVisitor &av) |
virtual void | accept (ConstArrayVisitor &av) const |
virtual void | accept (unsigned int index, ValueVisitor &vv) |
virtual void | accept (unsigned int index, ConstValueVisitor &vv) const |
virtual int | compare (unsigned int lhs, unsigned int rhs) const |
Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. | |
virtual void | trim () |
Frees unused space on this vector - i.e. | |
virtual const GLvoid * | getDataPointer () const |
virtual unsigned int | getTotalDataSize () const |
virtual unsigned int | getNumElements () const |
virtual unsigned int | index (unsigned int pos) const |
Protected Member Functions | |
virtual | ~TemplateIndexArray () |
osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::TemplateIndexArray | ( | ) | [inline] |
osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::TemplateIndexArray | ( | const TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType > & | ta, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::TemplateIndexArray | ( | unsigned int | no | ) | [inline] |
osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::TemplateIndexArray | ( | unsigned int | no, | |
T * | ptr | |||
) | [inline] |
osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::TemplateIndexArray | ( | InputIterator | first, | |
InputIterator | last | |||
) | [inline] |
virtual osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::~TemplateIndexArray | ( | ) | [inline, protected, virtual] |
TemplateIndexArray& osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::operator= | ( | const TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType > & | array | ) | [inline] |
virtual Object* osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::cloneType | ( | ) | const [inline, virtual] |
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
virtual Object* osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::clone | ( | const CopyOp & | ) | const [inline, virtual] |
Clone an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
void osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | ArrayVisitor & | av | ) | [inline, virtual] |
Implements osg::Array.
void osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | ConstArrayVisitor & | av | ) | const [inline, virtual] |
Implements osg::Array.
void osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | unsigned int | index, | |
ValueVisitor & | vv | |||
) | [inline, virtual] |
Implements osg::Array.
void osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | unsigned int | index, | |
ConstValueVisitor & | vv | |||
) | const [inline, virtual] |
Implements osg::Array.
virtual int osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::compare | ( | unsigned int | lhs, | |
unsigned int | rhs | |||
) | const [inline, virtual] |
Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element.
Implements osg::Array.
virtual void osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::trim | ( | ) | [inline, virtual] |
Frees unused space on this vector - i.e.
the difference between size() and max_size() of the underlying vector.
Reimplemented from osg::Array.
virtual const GLvoid* osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::getDataPointer | ( | ) | const [inline, virtual] |
Implements osg::Array.
virtual unsigned int osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::getTotalDataSize | ( | ) | const [inline, virtual] |
Implements osg::Array.
virtual unsigned int osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::getNumElements | ( | ) | const [inline, virtual] |
Implements osg::Array.
virtual unsigned int osg::TemplateIndexArray< T, ARRAYTYPE, DataSize, DataType >::index | ( | unsigned int | pos | ) | const [inline, virtual] |
Implements osg::IndexArray.