#include <osgIntrospection/Value>
#include <osgIntrospection/ReaderWriter>
#include <sstream>
Namespaces | |
namespace | osgIntrospection |
Functions | |
template<typename T> | |
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. |