OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osg::buffered_object< T > Class Template Reference

#include <buffered_value.h>

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
 

Detailed Description

template<class T>
class osg::buffered_object< T >

Definition at line 78 of file buffered_value.h.

Constructor & Destructor Documentation

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

Definition at line 82 of file buffered_value.h.

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

Definition at line 86 of file buffered_value.h.

Member Function Documentation

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

Definition at line 98 of file buffered_value.h.

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

Definition at line 100 of file buffered_value.h.

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

Definition at line 90 of file buffered_value.h.

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

Definition at line 106 of file buffered_value.h.

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

Definition at line 115 of file buffered_value.h.

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

Definition at line 104 of file buffered_value.h.

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

Definition at line 96 of file buffered_value.h.

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

Definition at line 102 of file buffered_value.h.

Member Data Documentation

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

Definition at line 127 of file buffered_value.h.


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