Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
moab::TagBytesEqual Class Reference

#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

Detailed Description

Test fixed-length opaque tags for equality

Definition at line 14 of file TagCompare.hpp.


Constructor & Destructor Documentation

moab::TagBytesEqual::TagBytesEqual ( const void *  v,
int  s 
) [inline]

Definition at line 21 of file TagCompare.hpp.

: value( v ), size( s ) {}

Member Function Documentation

bool moab::TagBytesEqual::operator() ( const void *  data) const [inline]

Definition at line 22 of file TagCompare.hpp.

References size, and value.

    {
        return !memcmp( value, data, size );
    }

Member Data Documentation

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()().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines