Static Public Member Functions | |
static const Type & | getType (const std::type_info &ti) |
static const Type & | getType (const std::string &qname) |
static const TypeMap & | getTypes () |
Returns the global map of types. | |
static const Type & | type_void () |
static const Converter * | getConverter (const Type &source, const Type &dest) |
static bool | getConversionPath (const Type &source, const Type &dest, ConverterList &conv) |
Friends | |
class | Reflector |
struct | TypeNameAliasProxy |
struct | ConverterProxy |
Classes | |
struct | StaticData |
static bool osgIntrospection::Reflection::getConversionPath | ( | const Type & | source, | |
const Type & | dest, | |||
ConverterList & | conv | |||
) | [static] |
static const Converter* osgIntrospection::Reflection::getConverter | ( | const Type & | source, | |
const Type & | dest | |||
) | [static] |
static const Type& osgIntrospection::Reflection::getType | ( | const std::string & | qname | ) | [static] |
Finds a Type object given its qualified name, which must be identical to the qualified name returned by that Type's getQualifiedName() method. If the type hasn't been created yet, an exception is thrown.
static const Type& osgIntrospection::Reflection::getType | ( | const std::type_info & | ti | ) | [static] |
Returns the Type object associated to the given type_info structure. If the type hasn't been created yet it is automatically created and added to the global type map. Please note that such type will have the status of "declared", you still need to give details about it through a Reflector class before you can query it.
static const TypeMap& osgIntrospection::Reflection::getTypes | ( | ) | [static] |
Returns the global map of types.
static const Type& osgIntrospection::Reflection::type_void | ( | ) | [static] |
Return the Type object associated to the C++ type 'void'. This is a shortcut for typeof(void), which may be slow if the type map is large.
friend struct ConverterProxy [friend] |
friend class Reflector [friend] |
friend struct TypeNameAliasProxy [friend] |