![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include <TagCompare.hpp>
Public Member Functions | |
TagBytesEqual (const void *v, int s) | |
bool | operator() (const void *data) const |
Private Attributes | |
const void * | value |
int | size |
Test fixed-length opaque tags for equality
Definition at line 14 of file TagCompare.hpp.
moab::TagBytesEqual::TagBytesEqual | ( | const void * | v, |
int | s | ||
) | [inline] |
Definition at line 21 of file TagCompare.hpp.
: value( v ), size( s ) {}
bool moab::TagBytesEqual::operator() | ( | const void * | data | ) | const [inline] |
Definition at line 22 of file TagCompare.hpp.
{
return !memcmp( value, data, size );
}
int moab::TagBytesEqual::size [private] |
Definition at line 18 of file TagCompare.hpp.
Referenced by operator()().
const void* moab::TagBytesEqual::value [private] |
Definition at line 17 of file TagCompare.hpp.
Referenced by operator()().