Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
1a0d715f
"openmmapi/src/ContextImpl.cpp" did not exist on "a5288d55a4b8fb58ceb2ca43a456ef344f062723"
Commit
1a0d715f
authored
Dec 12, 2013
by
peastman
Browse files
Fixed errors when using pre-1.8 versions of Doxygen
parent
ec5d89d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
wrappers/generateWrappers.py
wrappers/generateWrappers.py
+8
-4
No files found.
wrappers/generateWrappers.py
View file @
1a0d715f
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment