OpenSceneGraph
Public Member Functions | Protected Attributes | List of all members
osg::buffered_object< T > Class Template Reference
Inheritance diagram for osg::buffered_object< T >:
Inheritance graph
[legend]

Public Member Functions

 buffered_object ()
 
 buffered_object (unsigned int size)
 
buffered_objectoperator= (const buffered_object &rhs)
 
void setAllElementsTo (const T &t)
 
void clear ()
 
bool empty () const
 
unsigned int size () const
 
void resize (unsigned int newSize)
 
T & operator[] (unsigned int pos)
 
const T & operator[] (unsigned int pos) const
 

Protected Attributes

std::vector< T > _array
 

Constructor & Destructor Documentation

◆ buffered_object() [1/2]

template<class T>
osg::buffered_object< T >::buffered_object ( )
inline

◆ buffered_object() [2/2]

template<class T>
osg::buffered_object< T >::buffered_object ( unsigned int  size)
inline

Member Function Documentation

◆ clear()

template<class T>
void osg::buffered_object< T >::clear ( )
inline

◆ empty()

template<class T>
bool osg::buffered_object< T >::empty ( ) const
inline

◆ operator=()

template<class T>
buffered_object& osg::buffered_object< T >::operator= ( const buffered_object< T > &  rhs)
inline

◆ operator[]() [1/2]

template<class T>
T& osg::buffered_object< T >::operator[] ( unsigned int  pos)
inline

◆ operator[]() [2/2]

template<class T>
const T& osg::buffered_object< T >::operator[] ( unsigned int  pos) const
inline

◆ resize()

template<class T>
void osg::buffered_object< T >::resize ( unsigned int  newSize)
inline

◆ setAllElementsTo()

template<class T>
void osg::buffered_object< T >::setAllElementsTo ( const T &  t)
inline

◆ size()

template<class T>
unsigned int osg::buffered_object< T >::size ( ) const
inline

Member Data Documentation

◆ _array

template<class T>
std::vector<T> osg::buffered_object< T >::_array
mutableprotected

The documentation for this class was generated from the following file: