Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection

example
This commit is contained in:
Robert Osfield
2004-12-09 05:28:20 +00:00
parent dd0fac434a
commit 28d31c96b6
40 changed files with 6766 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include <osgIntrospection/MethodInfo>
using namespace osgIntrospection;
void MethodInfo::getInheritedProviders(CustomAttributeProviderList &providers) const
{
for (int i=0; i<decltype_.getNumBaseTypes(); ++i)
{
const MethodInfo *mi = decltype_.getBaseType(i).getMethod(name_, params_, false);
if (mi)
{
providers.push_back(mi);
}
}
}