"docs-source/vscode:/vscode.git/clone" did not exist on "3e53227566c9ee1009374df728aed49ba926016c"
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): ...@@ -221,8 +221,9 @@ class CHeaderGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className) shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className) typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName 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 # Write constructors
numConstructors = 0 numConstructors = 0
for methodNode in methodList: for methodNode in methodList:
...@@ -471,8 +472,9 @@ class CSourceGenerator(WrapperGenerator): ...@@ -471,8 +472,9 @@ class CSourceGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className) shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className) typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName 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 # Write constructors
numConstructors = 0 numConstructors = 0
for methodNode in methodList: for methodNode in methodList:
...@@ -915,8 +917,9 @@ class FortranHeaderGenerator(WrapperGenerator): ...@@ -915,8 +917,9 @@ class FortranHeaderGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className) shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className) typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName 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 # Write constructors
numConstructors = 0 numConstructors = 0
for methodNode in methodList: for methodNode in methodList:
...@@ -1463,8 +1466,9 @@ class FortranSourceGenerator(WrapperGenerator): ...@@ -1463,8 +1466,9 @@ class FortranSourceGenerator(WrapperGenerator):
shortClassName = stripOpenMMPrefix(className) shortClassName = stripOpenMMPrefix(className)
typeName = convertOpenMMPrefix(className) typeName = convertOpenMMPrefix(className)
destructorName = '~'+shortClassName 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 # Write constructors
numConstructors = 0 numConstructors = 0
for methodNode in methodList: 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