openscenegraph
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
osgWidget::UIObjectParent< T > Class Template Reference

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

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)
inlineprotected
template<typename T>
bool osgWidget::UIObjectParent< T >::_removeByName ( const std::string &  name)
inlineprotected
template<typename T>
Iterator osgWidget::UIObjectParent< T >::begin ( )
inline
template<typename T>
ConstIterator osgWidget::UIObjectParent< T >::begin ( ) const
inline
template<typename T>
Iterator osgWidget::UIObjectParent< T >::end ( )
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

template<typename T>
Vector osgWidget::UIObjectParent< T >::_objects
protected

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