OpenSceneGraph  3.0.1
Public Member Functions
osgDB::type_wrapper< T > Struct Template Reference

a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T. More...

Inheritance diagram for osgDB::type_wrapper< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool matches (const osg::Object *proto) const
- Public Member Functions inherited from osgDB::basic_type_wrapper
virtual ~basic_type_wrapper ()

Detailed Description

template<class T>
struct osgDB::type_wrapper< T >

a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T.

This is used in conjunction with readObjectOfType() to specify an abstract class as reference type.


Member Function Documentation

template<class T >
bool osgDB::type_wrapper< T >::matches ( const osg::Object proto) const
inlinevirtual

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

osg logo
Generated at Thu Oct 4 2012 13:46:11 for the OpenSceneGraph by doxygen 1.8.1.1.