Inheritance diagram for osgIntrospection::CustomAttributeProvider:
Public Member Functions | |
const CustomAttributeList & | getCustomAttributes () const |
Returns the const list of custom attributes. | |
CustomAttributeList & | getCustomAttributes () |
Returns the list of custom attributes. | |
CustomAttributeProvider * | addAttribute (const CustomAttribute *attr) |
Adds a new attribute to the list. | |
bool | isDefined (const Type &type, bool inherit) const |
template<typename T> | |
bool | isDefined (bool inherit) const |
const CustomAttribute * | getAttribute (const Type &type, bool inherit) const |
template<typename T> | |
const T * | getAttribute (bool inherit) const |
Protected Member Functions | |
virtual void | getInheritedProviders (CustomAttributeProviderList &providers) const =0 |
virtual | ~CustomAttributeProvider () |
virtual osgIntrospection::CustomAttributeProvider::~CustomAttributeProvider | ( | ) | [inline, protected, virtual] |
CustomAttributeProvider* osgIntrospection::CustomAttributeProvider::addAttribute | ( | const CustomAttribute * | attr | ) | [inline] |
Adds a new attribute to the list.
const T* osgIntrospection::CustomAttributeProvider::getAttribute | ( | bool | inherit | ) | const [inline] |
Searchs for an attribute of the given type and returns a pointer to it if found, a null pointer otherwise. If the inherit parameter is set to true, the search is forwarded to base types. [template version]
const CustomAttribute* osgIntrospection::CustomAttributeProvider::getAttribute | ( | const Type & | type, | |
bool | inherit | |||
) | const |
Searchs for an attribute of the given type and returns a pointer to it if found, a null pointer otherwise. If the inherit parameter is set to true, the search is forwarded to base types.
CustomAttributeList& osgIntrospection::CustomAttributeProvider::getCustomAttributes | ( | ) | [inline] |
Returns the list of custom attributes.
const CustomAttributeList& osgIntrospection::CustomAttributeProvider::getCustomAttributes | ( | ) | const [inline] |
Returns the const list of custom attributes.
virtual void osgIntrospection::CustomAttributeProvider::getInheritedProviders | ( | CustomAttributeProviderList & | providers | ) | const [protected, pure virtual] |
Implemented in osgIntrospection::ConstructorInfo, osgIntrospection::PropertyInfo, and osgIntrospection::Type.
bool osgIntrospection::CustomAttributeProvider::isDefined | ( | bool | inherit | ) | const [inline] |
Returns whether at least one attribute of the given type is present in the attribute list. If the inherit parameter is set to true, the search is forwarded to base types. [template version]
bool osgIntrospection::CustomAttributeProvider::isDefined | ( | const Type & | type, | |
bool | inherit | |||
) | const |
Returns whether at least one attribute of the given type is present in the attribute list. If the inherit parameter is set to true, the search is forwarded to base types.