OpenSceneGraph 2.8.3

variant_cast File Reference

#include <osgIntrospection/Value>
#include <osgIntrospection/ReaderWriter>
#include <sstream>

Namespaces

namespace  osgIntrospection
 

The osgIntrospection library provides the an introspection/reflection framework for non intrusive run-time querying and calling of class properties and methods.


Defines

#define OSGINTROSPECTION_VARIANT_CAST_

Functions

template<typename T >
osgIntrospection::variant_cast (const Value &v)
 Tries to convert an instance of Value to an object of type T.
template<typename T >
bool osgIntrospection::requires_conversion (const Value &v)
 Returns true if the Value passed as parameter can't be casted to the specified type without a (potentially slow) conversion.
template<typename T >
T * osgIntrospection::extract_raw_data (Value &v)
 Returns a typed pointer to the data contained in a Value instance.
template<typename T >
const T * osgIntrospection::extract_raw_data (const Value &v)
 Returns a typed pointer to the data contained in a const Value instance.

Define Documentation

#define OSGINTROSPECTION_VARIANT_CAST_

osg logo
Generated at Tue Mar 22 2011 13:20:19 for the OpenSceneGraph by doxygen 1.7.3.