Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e143a5ea
Commit
e143a5ea
authored
Feb 14, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Feb 14, 2019
Browse files
ENH: HashSet::test() for method name compatibility with bitSet, boolList
parent
95a33c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/HashTables/HashSet/HashSet.H
View file @
e143a5ea
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-201
8
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2016-201
9
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation
...
...
@@ -168,6 +168,14 @@ public:
// Member Functions
//- Same as found() - return true if key exists in the set.
// Method name compatibility with bitSet and boolList.
bool
test
(
const
Key
&
key
)
const
{
return
found
(
key
);
}
// Edit
//- Insert a new entry, not overwriting existing entries.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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