MOAB: Mesh Oriented datABase  (version 5.2.1)
moab::TagBytesLess Class Reference

#include <TagCompare.hpp>

Public Member Functions

 TagBytesLess (const void *v, int s)
bool operator() (const void *data) const

Private Attributes

const void * value
int size

Detailed Description

Test if fixed-length opaque tag values are less than a value

Definition at line 28 of file TagCompare.hpp.


Constructor & Destructor Documentation

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

Definition at line 35 of file TagCompare.hpp.

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

Member Function Documentation

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

Definition at line 36 of file TagCompare.hpp.

References size, and value.

    {
        return 0 < memcmp( value, data, size );
    }

Member Data Documentation

int moab::TagBytesLess::size [private]

Definition at line 32 of file TagCompare.hpp.

Referenced by operator()().

const void* moab::TagBytesLess::value [private]

Definition at line 31 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