From Mike Wittman, added protected function support
This commit is contained in:
@@ -38,7 +38,7 @@ end
|
||||
#############################################################################
|
||||
|
||||
|
||||
# suppress reflector "osg::CullStack"
|
||||
suppress reflector "osg::CullStack"
|
||||
|
||||
ignore file "osgViewer/GraphicsWindowX11"
|
||||
ignore file "osgViewer/GraphicsWindowWin32"
|
||||
@@ -295,6 +295,16 @@ end
|
||||
|
||||
#############################################################################
|
||||
|
||||
# Suppress nested nested class method
|
||||
|
||||
configure reflector "osgShadow::OccluderGeometry"
|
||||
configure method /.*_Edge_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
#############################################################################
|
||||
|
||||
# Doxygen doesn't parse ReadFunc and WriteFunc correctly...
|
||||
|
||||
configure reflector "osgDB::DotOsgWrapper::ReadFunc"
|
||||
@@ -315,3 +325,82 @@ suppress reflector "osg::ref_ptr< const osg::StateAttribute >"
|
||||
suppress reflector "osg::ref_ptr< const osgFX::Effect >"
|
||||
|
||||
#############################################################################
|
||||
|
||||
# Doxygen incorrectly parses function typedefs as methods
|
||||
|
||||
configure reflector "osg::BufferObject::Extensions"
|
||||
configure method "__typedef__void__APIENTRY_P1"
|
||||
replace with ""
|
||||
end
|
||||
configure method "__typedef__GLboolean__APIENTRY_P1"
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osg::Drawable::Extensions"
|
||||
configure method "__typedef__void__APIENTRY_P1"
|
||||
replace with ""
|
||||
end
|
||||
configure method "__typedef__GLboolean__APIENTRY_P1"
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osg::State"
|
||||
configure method "__typedef__void__APIENTRY_P1"
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
#############################################################################
|
||||
|
||||
# avoid functions that use protected types, since those are not handled
|
||||
# currently
|
||||
|
||||
configure reflector "osg::Shader"
|
||||
configure method /.*_PerContextShader_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osg::State"
|
||||
configure method /.*_(ModeStack|AttributeStack|ModeMap|AttributeMap|UniformMap)_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgUtil::Optimizer::TextureAtlasBuilder"
|
||||
configure method /.*_Source_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgUtil::Tessellator"
|
||||
configure method /.*_VertexPtrToIndexMap_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgDB::Registry"
|
||||
configure method /.*_(DynamicLibraryList_iterator|DotOsgWrapperMap)_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgText::FadeText"
|
||||
configure method /.*_ViewBlendColou?rMap_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgParticle::PrecipitationEffect"
|
||||
configure method /.*_PrecipitationDrawableSet_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
configure reflector "osgManipulator::MotionCommand"
|
||||
configure method /.*_SelectionList_.*/
|
||||
replace with ""
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user