moab
|
#include <Interface.hpp>
Public Member Functions | |
type_not_equals (Interface *mdb, const EntityType type) | |
Constructor. | |
bool | operator() (EntityHandle handle) const |
operator predicate | |
Public Attributes | |
Interface * | meshDB |
interface object | |
const EntityType | test_type |
type corresponding to this predicate |
predicate for STL algorithms. Returns true if the entity handle is not of the specified type. For example, to remove all but the tris out of a list of 2D entities retrieved using get_adjacencies you could do std::remove_if(list.begin(), list.end(), type_not_equals(gMB, MeshTri));
Definition at line 2013 of file Interface.hpp.
moab::type_not_equals::type_not_equals | ( | Interface * | mdb, |
const EntityType | type | ||
) | [inline] |
bool moab::type_not_equals::operator() | ( | EntityHandle | handle | ) | const [inline] |
operator predicate
Definition at line 2027 of file Interface.hpp.
{ return (meshDB->type_from_handle(handle) != test_type); }
interface object
Definition at line 2018 of file Interface.hpp.
const EntityType moab::type_not_equals::test_type |
type corresponding to this predicate
Definition at line 2021 of file Interface.hpp.