OpenSceneGraph
Public Member Functions | List of all members
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]
Collaboration diagram for osgDB::type_wrapper< T >:
Collaboration graph
[legend]

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.


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