Inheritance diagram for osgIntrospection::Type:

Public Member Functions | |
| ~Type () | |
| Destructor. Note that this class is not meant to be subclassed. | |
| const std::type_info & | getStdTypeInfo () const |
| bool | isDefined () const |
| const std::string & | getName () const |
| Returns the name of the reflected type. | |
| const std::string & | getNamespace () const |
| Returns the namespace of the reflected type. | |
| std::string | getQualifiedName () const |
| bool | matchesName (const std::string &name) const |
| int | getNumBaseTypes () const |
| const Type & | getBaseType (int i) const |
| Returns the i-th base type. | |
| const TypeList & | getBaseTypeList () const |
| Returns the base type list. | |
| int | getNumAliases () const |
| Returns the number of type name aliases. | |
| const std::string & | getAlias (int i) const |
| Returns the i-th name alias. | |
| bool | isAbstract () const |
| Returns whether the reflected type is abstract. | |
| bool | isAtomic () const |
| bool | isEnum () const |
| Returns whether the reflected type is an enumeration. | |
| bool | isVoid () const |
| Returns whether the reflected type is the type void. | |
| bool | isPointer () const |
| Returns true if the reflected type is a pointer, false otherwise. | |
| bool | isConstPointer () const |
| bool | isNonConstPointer () const |
| const Type & | getPointedType () const |
| const PropertyInfoList & | getProperties () const |
| void | getAllProperties (PropertyInfoList &props) const |
| void | getPropertiesMap (PropertyInfoMap &props) const |
| const ConstructorInfoList & | getConstructors () const |
| Returns the list of constructors defined for this type. | |
| const MethodInfoList & | getMethods () const |
| void | getAllMethods (MethodInfoList &methods) const |
| void | getMethodsMap (MethodInfoMap &methods) const |
| const EnumLabelMap & | getEnumLabels () const |
| const ConstructorInfo * | getCompatibleConstructor (const ValueList &values) const |
| const ConstructorInfo * | getConstructor (const ParameterInfoList ¶ms) const |
| const MethodInfo * | getCompatibleMethod (const std::string &name, const ValueList &values, bool inherit) const |
| const MethodInfo * | getMethod (const std::string &name, const ParameterInfoList ¶ms, bool inherit) const |
| const PropertyInfo * | getProperty (const std::string &name, const Type &ptype, const ParameterInfoList &indices, bool inherit) const |
| Value | invokeMethod (const std::string &name, const Value &instance, ValueList &args, bool inherit) const |
| Value | invokeMethod (const std::string &name, Value &instance, ValueList &args, bool inherit) const |
| bool | isSubclassOf (const Type &type) const |
| Returns whether the reflected type is derived from another type. | |
| const ReaderWriter * | getReaderWriter () const |
| const Comparator * | getComparator () const |
| Value | createInstance (ValueList &args) const |
| Value | createInstance () const |
Protected Member Functions | |
| Type (const std::type_info &ti) | |
| void | check_defined () const |
| virtual void | getInheritedProviders (CustomAttributeProviderList &providers) const |
Friends | |
| class | Reflector |
| struct | TypeNameAliasProxy |
| class | Reflection |
|
|
Destructor. Note that this class is not meant to be subclassed.
|
|
|
|
|
|
|
|
|
|
|
|
Creates an instance of the reflected type. The returned Value can be casted to T*, where T is the reflected type. If the type is abstract, an exception is thrown. |
|
|
Returns the i-th name alias.
|
|
|
Fills a list of methods that are either defined in this Type or in inherited types. |
|
|
Fills a list of properties that are either defined in this Type or in inherited types. |
|
|
Returns the i-th base type.
|
|
|
Returns the base type list.
|
|
|
Returns the instance of the comparator object assigned to this type, if any. Otherwise it returns the null pointer. |
|
|
Searches for a constructor that can be called with the given list of arguments without raising type conversion errors. If more than one constructors are suitable for calling, the best match is returned. |
|
||||||||||||||||
|
Searches for a method that can be called with the given list of arguments without raising type conversion errors. If more than one method are suitable for calling, the best match is returned. |
|
|
Searches for a constructor whose parameters match exactly the given list of parameter descriptions. |
|
|
Returns the list of constructors defined for this type.
|
|
|
Returns the map of enumeration labels. If the type is not an enumeration, an empty map is returned. |
|
|
Implements osgIntrospection::CustomAttributeProvider. |
|
||||||||||||||||
|
Searches for a method whose parameters match exactly the given list of parameter descriptions. |
|
|
Returns the list of methods defined for this type. The list does not include methods inherited from base types. |
|
|
Fills a map of "type <-> MethodInfoList" that are either defined in this Type or in inherited types. |
|
|
Returns the name of the reflected type.
|
|
|
Returns the namespace of the reflected type.
|
|
|
Returns the number of type name aliases.
|
|
|
Returns the number of base types. This number is zero if the type is not derived from any other type. |
|
|
Returns the pointed type. If the reflected type is not a pointer, the object returned is typeof(void). |
|
|
Returns the list of properties defined for this type. The list does not include properties inherited from base types. |
|
|
Fills a map of "type <-> propertyInfoList" that are either defined in this Type or in inherited types. |
|
||||||||||||||||||||
|
Searches for a property given its name, type and list of indices. Only exact matches are returned. |
|
|
Returns the qualified name of the reflected type. The qualified name is formed by the namespace, if present, plus other modifiers like 'const' and/or '*' (pointer) where applicable. |
|
|
Returns the instance of the reader/writer object assigned to this type, if any. Otherwise it returns the null pointer. |
|
|
Returns a reference to the std::type_info instance associated to this Type. |
|
||||||||||||||||||||
|
Searches for a suitable method and invokes it with the given list of arguments. |
|
||||||||||||||||||||
|
Searches for a suitable method and invokes it with the given list of arguments (const instance). |
|
|
Returns whether the reflected type is abstract.
|
|
|
Returns whether the reflected type is "atomic", that is it can be rendered to and decoded from a stream directly. |
|
|
Returns true if the reflected type is a pointer AND it is const, false otherwise. |
|
|
Returns true if this Type is defined, false if it's just declared. See class Reflector if you want to create a new Type. |
|
|
Returns whether the reflected type is an enumeration.
|
|
|
Returns true if the reflected type is a pointer AND it is not const, false otherwise. |
|
|
Returns true if the reflected type is a pointer, false otherwise.
|
|
|
Returns whether the reflected type is derived from another type.
|
|
|
Returns whether the reflected type is the type void.
|
|
|
Returns true if either the fully-qualified name or one of the name aliases match the given argument |
|
|
|
|
|
|
|
|
|
1.4.6