From Marco Jez, updates to osgIntrospection.
This commit is contained in:
15
src/osgIntrospection/ConstructorInfo.cpp
Normal file
15
src/osgIntrospection/ConstructorInfo.cpp
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user