OpenSceneGraph 2.8.3

osgWidget::UIObjectParent< T > Class Template Reference

Inheritance diagram for osgWidget::UIObjectParent< T >:

List of all members.

Public Types

typedef T object_type
typedef osg::observer_ptr
< object_type
ptr_type
typedef std::vector< ptr_typeVector
typedef Vector::iterator Iterator
typedef Vector::const_iterator ConstIterator

Public Member Functions

Iterator begin ()
ConstIterator begin () const
Iterator end ()
ConstIterator end () const
Vector::size_type size () const
object_typegetByName (const std::string &name)
const object_typegetByName (const std::string &name) const
object_typegetByIndex (unsigned int index)
const object_typegetByIndex (unsigned int index) const
unsigned int getNumObjects () const
VectorgetObjects ()
const VectorgetObjects () const

Protected Member Functions

bool _remove (object_type *obj)
bool _removeByName (const std::string &name)

Protected Attributes

Vector _objects

template<typename T>
class osgWidget::UIObjectParent< T >


Member Typedef Documentation

template<typename T>
typedef Vector::const_iterator osgWidget::UIObjectParent< T >::ConstIterator
template<typename T>
typedef Vector::iterator osgWidget::UIObjectParent< T >::Iterator
template<typename T>
typedef T osgWidget::UIObjectParent< T >::object_type
template<typename T>
typedef osg::observer_ptr<object_type> osgWidget::UIObjectParent< T >::ptr_type
template<typename T>
typedef std::vector<ptr_type> osgWidget::UIObjectParent< T >::Vector

Member Function Documentation

template<typename T>
bool osgWidget::UIObjectParent< T >::_remove ( object_type obj) [inline, protected]
template<typename T>
bool osgWidget::UIObjectParent< T >::_removeByName ( const std::string &  name) [inline, protected]
template<typename T>
ConstIterator osgWidget::UIObjectParent< T >::begin ( ) const [inline]
template<typename T>
ConstIterator osgWidget::UIObjectParent< T >::end ( ) const [inline]
template<typename T>
object_type* osgWidget::UIObjectParent< T >::getByIndex ( unsigned int  index) [inline]
template<typename T>
const object_type* osgWidget::UIObjectParent< T >::getByIndex ( unsigned int  index) const [inline]
template<typename T>
object_type* osgWidget::UIObjectParent< T >::getByName ( const std::string &  name) [inline]
template<typename T>
const object_type* osgWidget::UIObjectParent< T >::getByName ( const std::string &  name) const [inline]
template<typename T>
unsigned int osgWidget::UIObjectParent< T >::getNumObjects ( ) const [inline]
template<typename T>
Vector& osgWidget::UIObjectParent< T >::getObjects ( ) [inline]
template<typename T>
const Vector& osgWidget::UIObjectParent< T >::getObjects ( ) const [inline]
template<typename T>
Vector::size_type osgWidget::UIObjectParent< T >::size ( ) const [inline]

Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:32 for the OpenSceneGraph by doxygen 1.7.3.