"openmmapi/src/ContextImpl.cpp" did not exist on "a5288d55a4b8fb58ceb2ca43a456ef344f062723"
Commit 1a0d715f authored by peastman's avatar peastman
Browse files

Fixed errors when using pre-1.8 versions of Doxygen

parent ec5d89d2
......@@ -221,8 +221,9 @@ class CHeaderGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName
isAbstract = any('virt' in method.attrib and method.attrib['virt'] == 'pure-virtual' for method in classNode.getiterator('memberdef'))
if not ('abstract' in classNode.attrib and classNode.attrib['abstract'] == 'yes'):
if not isAbstract:
# Write constructors
numConstructors = 0
for methodNode in methodList:
......@@ -471,8 +472,9 @@ class CSourceGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName
isAbstract = any('virt' in method.attrib and method.attrib['virt'] == 'pure-virtual' for method in classNode.getiterator('memberdef'))
if not ('abstract' in classNode.attrib and classNode.attrib['abstract'] == 'yes'):
if not isAbstract:
# Write constructors
numConstructors = 0
for methodNode in methodList:
......@@ -915,8 +917,9 @@ class FortranHeaderGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName
isAbstract = any('virt' in method.attrib and method.attrib['virt'] == 'pure-virtual' for method in classNode.getiterator('memberdef'))
if not ('abstract' in classNode.attrib and classNode.attrib['abstract'] == 'yes'):
if not isAbstract:
# Write constructors
numConstructors = 0
for methodNode in methodList:
......@@ -1463,8 +1466,9 @@ class FortranSourceGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName
isAbstract = any('virt' in method.attrib and method.attrib['virt'] == 'pure-virtual' for method in classNode.getiterator('memberdef'))
if not ('abstract' in classNode.attrib and classNode.attrib['abstract'] == 'yes'):
if not isAbstract:
# Write constructors
numConstructors = 0
for methodNode in methodList:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment