From Marco Jez, updates to osgIntrospection.

This commit is contained in:
Robert Osfield
2005-04-04 13:50:07 +00:00
parent 21a69b5317
commit 5f75f765f0
30 changed files with 7591 additions and 3213 deletions

View File

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