OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgWidget::UIObjectParent Class Reference
Inheritance diagram for osgWidget::UIObjectParent:
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

Member Typedef Documentation

typedef Vector::const_iterator osgWidget::UIObjectParent::ConstIterator
typedef Vector::iterator osgWidget::UIObjectParent::Iterator

Member Function Documentation

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

Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.