Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgDB::type_wrapper< T > Struct Template Reference

Inheritance diagram for osgDB::type_wrapper< T >:

osgDB::basic_type_wrapper List of all members.

Public Member Functions

bool matches (const osg::Object *proto) const

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 [inline, virtual]
 

Implements osgDB::basic_type_wrapper.


The documentation for this struct was generated from the following file:
Generated on Fri May 13 15:15:50 2005 for openscenegraph by  doxygen 1.4.2