osgWidget::UIObjectParent< T > Class Template Reference

Inheritance diagram for osgWidget::UIObjectParent< T >:

Inheritance graph
[legend]

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 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

template<typename T>
typedef Vector::iterator osgWidget::UIObjectParent< T >::Iterator

template<typename T>
typedef Vector::const_iterator osgWidget::UIObjectParent< T >::ConstIterator


Member Function Documentation

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>
Vector::size_type osgWidget::UIObjectParent< T >::size (  )  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>
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>
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>
bool osgWidget::UIObjectParent< T >::_remove ( object_type obj  )  [inline, protected]

template<typename T>
bool osgWidget::UIObjectParent< T >::_removeByName ( const std::string &  name  )  [inline, protected]


Member Data Documentation

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


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

Generated at Thu Aug 14 04:13:18 2008 for the OpenSceneGraph by doxygen 1.5.6.