MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <TagCompare.hpp>
Public Types | |
typedef std::pair < EntityHandle, const char * > | data_type |
Public Member Functions | |
ByteArrayIterator (EntityHandle start_handle, const void *data_array, size_t tag_size) | |
ByteArrayIterator (EntityHandle start_handle, const void *data_array, const TagInfo &tag_info) | |
bool | operator== (const ByteArrayIterator &other) const |
bool | operator!= (const ByteArrayIterator &other) const |
ByteArrayIterator & | operator++ () |
ByteArrayIterator | operator++ (int) |
ByteArrayIterator & | operator-- () |
ByteArrayIterator | operator-- (int) |
ByteArrayIterator & | operator+= (size_t amt) |
ByteArrayIterator & | operator-= (size_t amt) |
EntityHandle | operator- (const ByteArrayIterator &other) const |
const data_type & | operator* () const |
const data_type * | operator-> () const |
Private Attributes | |
size_t | step |
data_type | data |
Iterator to use in find_tag_values_equal for arrays of data
Definition at line 446 of file TagCompare.hpp.
typedef std::pair< EntityHandle, const char* > moab::ByteArrayIterator::data_type |
Definition at line 449 of file TagCompare.hpp.
moab::ByteArrayIterator::ByteArrayIterator | ( | EntityHandle | start_handle, |
const void * | data_array, | ||
size_t | tag_size | ||
) | [inline] |
Definition at line 456 of file TagCompare.hpp.
moab::ByteArrayIterator::ByteArrayIterator | ( | EntityHandle | start_handle, |
const void * | data_array, | ||
const TagInfo & | tag_info | ||
) | [inline] |
Definition at line 461 of file TagCompare.hpp.
: step( tag_info.get_size() == MB_VARIABLE_LENGTH ? sizeof( VarLenTag ) : tag_info.get_size() ), data( start_handle, reinterpret_cast< const char* >( data_array ) ) { }
bool moab::ByteArrayIterator::operator!= | ( | const ByteArrayIterator & | other | ) | const [inline] |
Definition at line 470 of file TagCompare.hpp.
References data.
{ return data.first != other.data.first; }
const data_type& moab::ByteArrayIterator::operator* | ( | ) | const [inline] |
ByteArrayIterator& moab::ByteArrayIterator::operator++ | ( | ) | [inline] |
Definition at line 474 of file TagCompare.hpp.
Referenced by operator++().
ByteArrayIterator moab::ByteArrayIterator::operator++ | ( | int | ) | [inline] |
Definition at line 480 of file TagCompare.hpp.
References operator++().
{ ByteArrayIterator result( *this ); operator++(); return result; }
ByteArrayIterator& moab::ByteArrayIterator::operator+= | ( | size_t | amt | ) | [inline] |
EntityHandle moab::ByteArrayIterator::operator- | ( | const ByteArrayIterator & | other | ) | const [inline] |
Definition at line 510 of file TagCompare.hpp.
References data.
{ return data.first - other.data.first; }
ByteArrayIterator& moab::ByteArrayIterator::operator-- | ( | ) | [inline] |
Definition at line 486 of file TagCompare.hpp.
Referenced by operator--().
ByteArrayIterator moab::ByteArrayIterator::operator-- | ( | int | ) | [inline] |
Definition at line 492 of file TagCompare.hpp.
References operator--().
{ ByteArrayIterator result( *this ); operator--(); return result; }
ByteArrayIterator& moab::ByteArrayIterator::operator-= | ( | size_t | amt | ) | [inline] |
const data_type* moab::ByteArrayIterator::operator-> | ( | ) | const [inline] |
bool moab::ByteArrayIterator::operator== | ( | const ByteArrayIterator & | other | ) | const [inline] |
Definition at line 466 of file TagCompare.hpp.
References data.
{ return data.first == other.data.first; }
data_type moab::ByteArrayIterator::data [private] |
Definition at line 453 of file TagCompare.hpp.
Referenced by moab::DenseTag::find_entities_with_value(), moab::VarLenDenseTag::find_entities_with_value(), operator!=(), operator*(), operator++(), operator+=(), operator-(), operator--(), operator-=(), operator->(), and operator==().
size_t moab::ByteArrayIterator::step [private] |
Definition at line 452 of file TagCompare.hpp.
Referenced by operator++(), operator+=(), operator--(), and operator-=().