Inheritance diagram for osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >:

Public Member Functions | |
| TemplateArray () | |
| TemplateArray (const TemplateArray &ta, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| TemplateArray (unsigned int no) | |
| TemplateArray (unsigned int no, T *ptr) | |
| template<class InputIterator> | |
| TemplateArray (InputIterator first, InputIterator last) | |
| TemplateArray & | operator= (const TemplateArray &array) |
| virtual Object * | cloneType () const |
| virtual Object * | clone (const CopyOp ©op) const |
| 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 |
| virtual void | trim () |
| virtual const GLvoid * | getDataPointer () const |
| virtual unsigned int | getTotalDataSize () const |
| virtual unsigned int | getNumElements () const |
Protected Member Functions | |
| virtual | ~TemplateArray () |
| osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::TemplateArray | ( | ) | [inline] |
| osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::TemplateArray | ( | const TemplateArray< T, ARRAYTYPE, DataSize, DataType > & | ta, | |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
| ) | [inline] |
| osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::TemplateArray | ( | unsigned int | no | ) | [inline] |
| osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::TemplateArray | ( | unsigned int | no, | |
| T * | ptr | |||
| ) | [inline] |
| osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::TemplateArray | ( | InputIterator | first, | |
| InputIterator | last | |||
| ) | [inline] |
| virtual osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::~TemplateArray | ( | ) | [inline, protected, virtual] |
| void osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | unsigned int | index, | |
| ConstValueVisitor & | vv | |||
| ) | const [inline, virtual] |
Implements osg::Array.
| void osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | unsigned int | index, | |
| ValueVisitor & | vv | |||
| ) | [inline, virtual] |
Implements osg::Array.
| void osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | ConstArrayVisitor & | av | ) | const [inline, virtual] |
Implements osg::Array.
| void osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::accept | ( | ArrayVisitor & | av | ) | [inline, virtual] |
Implements osg::Array.
| virtual Object* osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::clone | ( | const CopyOp & | copyop | ) | const [inline, virtual] |
Clone an object, with Object* return type. Must be defined by derived classes.
Implements osg::Object.
| virtual Object* osg::TemplateArray< 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 int osg::TemplateArray< 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 const GLvoid* osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::getDataPointer | ( | ) | const [inline, virtual] |
Implements osg::Array.
| virtual unsigned int osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::getNumElements | ( | ) | const [inline, virtual] |
Implements osg::Array.
| virtual unsigned int osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::getTotalDataSize | ( | ) | const [inline, virtual] |
Implements osg::Array.
| TemplateArray& osg::TemplateArray< T, ARRAYTYPE, DataSize, DataType >::operator= | ( | const TemplateArray< T, ARRAYTYPE, DataSize, DataType > & | array | ) | [inline] |
| virtual void osg::TemplateArray< 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.
1.4.7