osgIntrospection::CustomAttributeProvider Class Reference

Inheritance diagram for osgIntrospection::CustomAttributeProvider:

osgIntrospection::ConstructorInfo osgIntrospection::MethodInfo osgIntrospection::PropertyInfo osgIntrospection::Type osgIntrospection::TypedConstructorInfo0< C, IC > osgIntrospection::TypedConstructorInfo1< C, IC, P0 > osgIntrospection::TypedConstructorInfo10< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 > osgIntrospection::TypedConstructorInfo11< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > osgIntrospection::TypedConstructorInfo12< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > osgIntrospection::TypedConstructorInfo13< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 > osgIntrospection::TypedConstructorInfo14< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 > osgIntrospection::TypedConstructorInfo15< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 > osgIntrospection::TypedConstructorInfo16< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 > osgIntrospection::TypedConstructorInfo2< C, IC, P0, P1 > osgIntrospection::TypedConstructorInfo3< C, IC, P0, P1, P2 > osgIntrospection::TypedConstructorInfo4< C, IC, P0, P1, P2, P3 > osgIntrospection::TypedConstructorInfo5< C, IC, P0, P1, P2, P3, P4 > osgIntrospection::TypedConstructorInfo6< C, IC, P0, P1, P2, P3, P4, P5 > osgIntrospection::TypedConstructorInfo7< C, IC, P0, P1, P2, P3, P4, P5, P6 > osgIntrospection::TypedConstructorInfo8< C, IC, P0, P1, P2, P3, P4, P5, P6, P7 > osgIntrospection::TypedConstructorInfo9< C, IC, P0, P1, P2, P3, P4, P5, P6, P7, P8 > osgIntrospection::StaticMethodInfo0< C, R > osgIntrospection::StaticMethodInfo0< C, void > osgIntrospection::StaticMethodInfo1< C, R, P0 > osgIntrospection::StaticMethodInfo10< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 > osgIntrospection::StaticMethodInfo10< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 > osgIntrospection::StaticMethodInfo11< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > osgIntrospection::StaticMethodInfo11< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > osgIntrospection::StaticMethodInfo12< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > osgIntrospection::StaticMethodInfo12< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > osgIntrospection::StaticMethodInfo13< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 > osgIntrospection::StaticMethodInfo13< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 > osgIntrospection::StaticMethodInfo14< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 > osgIntrospection::StaticMethodInfo14< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 > osgIntrospection::StaticMethodInfo15< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 > osgIntrospection::StaticMethodInfo15< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 > osgIntrospection::StaticMethodInfo16< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 > osgIntrospection::StaticMethodInfo16< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 > osgIntrospection::StaticMethodInfo1< C, void, P0 > osgIntrospection::StaticMethodInfo2< C, R, P0, P1 > osgIntrospection::StaticMethodInfo2< C, void, P0, P1 > osgIntrospection::StaticMethodInfo3< C, R, P0, P1, P2 > osgIntrospection::StaticMethodInfo3< C, void, P0, P1, P2 > osgIntrospection::StaticMethodInfo4< C, R, P0, P1, P2, P3 > osgIntrospection::StaticMethodInfo4< C, void, P0, P1, P2, P3 > osgIntrospection::StaticMethodInfo5< C, R, P0, P1, P2, P3, P4 > osgIntrospection::StaticMethodInfo5< C, void, P0, P1, P2, P3, P4 > osgIntrospection::StaticMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 > osgIntrospection::StaticMethodInfo6< C, void, P0, P1, P2, P3, P4, P5 > osgIntrospection::StaticMethodInfo7< C, R, P0, P1, P2, P3, P4, P5, P6 > osgIntrospection::StaticMethodInfo7< C, void, P0, P1, P2, P3, P4, P5, P6 > osgIntrospection::StaticMethodInfo8< C, R, P0, P1, P2, P3, P4, P5, P6, P7 > osgIntrospection::StaticMethodInfo8< C, void, P0, P1, P2, P3, P4, P5, P6, P7 > osgIntrospection::StaticMethodInfo9< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8 > osgIntrospection::StaticMethodInfo9< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8 > osgIntrospection::TypedMethodInfo0< C, R > osgIntrospection::TypedMethodInfo0< C, void > osgIntrospection::TypedMethodInfo1< C, R, P0 > osgIntrospection::TypedMethodInfo10< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 > osgIntrospection::TypedMethodInfo10< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 > osgIntrospection::TypedMethodInfo11< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > osgIntrospection::TypedMethodInfo11< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > osgIntrospection::TypedMethodInfo12< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > osgIntrospection::TypedMethodInfo12< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > osgIntrospection::TypedMethodInfo13< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 > osgIntrospection::TypedMethodInfo13< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 > osgIntrospection::TypedMethodInfo14< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 > osgIntrospection::TypedMethodInfo14< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 > osgIntrospection::TypedMethodInfo15< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 > osgIntrospection::TypedMethodInfo15< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 > osgIntrospection::TypedMethodInfo16< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 > osgIntrospection::TypedMethodInfo16< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 > osgIntrospection::TypedMethodInfo1< C, void, P0 > osgIntrospection::TypedMethodInfo2< C, R, P0, P1 > osgIntrospection::TypedMethodInfo2< C, void, P0, P1 > osgIntrospection::TypedMethodInfo3< C, R, P0, P1, P2 > osgIntrospection::TypedMethodInfo3< C, void, P0, P1, P2 > osgIntrospection::TypedMethodInfo4< C, R, P0, P1, P2, P3 > osgIntrospection::TypedMethodInfo4< C, void, P0, P1, P2, P3 > osgIntrospection::TypedMethodInfo5< C, R, P0, P1, P2, P3, P4 > osgIntrospection::TypedMethodInfo5< C, void, P0, P1, P2, P3, P4 > osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 > osgIntrospection::TypedMethodInfo6< C, void, P0, P1, P2, P3, P4, P5 > osgIntrospection::TypedMethodInfo7< C, R, P0, P1, P2, P3, P4, P5, P6 > osgIntrospection::TypedMethodInfo7< C, void, P0, P1, P2, P3, P4, P5, P6 > osgIntrospection::TypedMethodInfo8< C, R, P0, P1, P2, P3, P4, P5, P6, P7 > osgIntrospection::TypedMethodInfo8< C, void, P0, P1, P2, P3, P4, P5, P6, P7 > osgIntrospection::TypedMethodInfo9< C, R, P0, P1, P2, P3, P4, P5, P6, P7, P8 > osgIntrospection::TypedMethodInfo9< C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8 > List of all members.

Public Member Functions

const CustomAttributeListgetCustomAttributes () const
 Returns the const list of custom attributes.
CustomAttributeListgetCustomAttributes ()
 Returns the list of custom attributes.
CustomAttributeProvideraddAttribute (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 CustomAttributegetAttribute (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 ()

Detailed Description

This is the base class for custom attribute providers, that is objects that can be assigned a list of custom attributes. Methods defined in this class provide the means for adding, retrieving and searching for attributes.


Constructor & Destructor Documentation

virtual osgIntrospection::CustomAttributeProvider::~CustomAttributeProvider  )  [inline, protected, virtual]
 


Member Function Documentation

CustomAttributeProvider* osgIntrospection::CustomAttributeProvider::addAttribute const CustomAttribute attr  )  [inline]
 

Adds a new attribute to the list.

template<typename T>
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.

template<typename T>
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.


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 06:19:23 2006 for OpenSceneGraph by  doxygen 1.4.6