Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CrayzeeWulf
Xdmf
Commits
c0de4662
Commit
c0de4662
authored
Sep 09, 2010
by
Brian Panneton
Committed by
Kenneth Leiter
Sep 23, 2010
Browse files
FIX: Added more SWIG overriding equals for Python
parent
31a8e054
Changes
1
Hide whitespace changes
Inline
Side-by-side
Xdmf.i
View file @
c0de4662
...
...
@@ -96,6 +96,31 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
return
(
self-
>
IsEqual
(
attributeCenter
))
;
}
}
;
%
extend
XdmfAttributeType
{
bool
__eq__
(
boost
::
shared_ptr
<
XdmfAttributeType
>
attributeType
)
{
return
(
self-
>
IsEqual
(
attributeType
))
;
}
}
;
%
extend
XdmfGeometryType
{
bool
__eq__
(
boost
::
shared_ptr
<
XdmfGeometryType
>
geometryType
)
{
return
(
self-
>
IsEqual
(
geometryType
))
;
}
}
;
%
extend
XdmfGridCollectionType
{
bool
__eq__
(
boost
::
shared_ptr
<
XdmfGridCollectionType
>
collectionType
)
{
return
(
self-
>
IsEqual
(
collectionType
))
;
}
}
;
%
extend
XdmfSetType
{
bool
__eq__
(
boost
::
shared_ptr
<
XdmfSetType
>
setType
)
{
return
(
self-
>
IsEqual
(
setType
))
;
}
}
;
%
extend
XdmfTopologyType
{
bool
__eq__
(
boost
::
shared_ptr
<
XdmfTopologyType
>
topologyType
)
{
return
(
self-
>
IsEqual
(
topologyType
))
;
}
}
;
#
endif
...
...
Write
Preview
Supports
Markdown
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