moab
|
#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 437 of file TagCompare.hpp.
typedef std::pair<EntityHandle, const char*> moab::ByteArrayIterator::data_type |
Definition at line 440 of file TagCompare.hpp.
moab::ByteArrayIterator::ByteArrayIterator | ( | EntityHandle | start_handle, |
const void * | data_array, | ||
size_t | tag_size | ||
) | [inline] |
Definition at line 445 of file TagCompare.hpp.
moab::ByteArrayIterator::ByteArrayIterator | ( | EntityHandle | start_handle, |
const void * | data_array, | ||
const TagInfo & | tag_info | ||
) | [inline] |
Definition at line 452 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 460 of file TagCompare.hpp.
{ return data.first != other.data.first; }
const data_type& moab::ByteArrayIterator::operator* | ( | ) | const [inline] |
Definition at line 476 of file TagCompare.hpp.
{ return data; }
ByteArrayIterator& moab::ByteArrayIterator::operator++ | ( | ) | [inline] |
Definition at line 462 of file TagCompare.hpp.
ByteArrayIterator moab::ByteArrayIterator::operator++ | ( | int | ) | [inline] |
Definition at line 464 of file TagCompare.hpp.
{ ByteArrayIterator result(*this); operator++(); return result; }
ByteArrayIterator& moab::ByteArrayIterator::operator+= | ( | size_t | amt | ) | [inline] |
Definition at line 470 of file TagCompare.hpp.
EntityHandle moab::ByteArrayIterator::operator- | ( | const ByteArrayIterator & | other | ) | const [inline] |
Definition at line 474 of file TagCompare.hpp.
{ return data.first - other.data.first; }
ByteArrayIterator& moab::ByteArrayIterator::operator-- | ( | ) | [inline] |
Definition at line 466 of file TagCompare.hpp.
ByteArrayIterator moab::ByteArrayIterator::operator-- | ( | int | ) | [inline] |
Definition at line 468 of file TagCompare.hpp.
{ ByteArrayIterator result(*this); operator--(); return result; }
ByteArrayIterator& moab::ByteArrayIterator::operator-= | ( | size_t | amt | ) | [inline] |
Definition at line 472 of file TagCompare.hpp.
const data_type* moab::ByteArrayIterator::operator-> | ( | ) | const [inline] |
Definition at line 478 of file TagCompare.hpp.
{ return &data; }
bool moab::ByteArrayIterator::operator== | ( | const ByteArrayIterator & | other | ) | const [inline] |
Definition at line 458 of file TagCompare.hpp.
{ return data.first == other.data.first; }
data_type moab::ByteArrayIterator::data [private] |
Definition at line 443 of file TagCompare.hpp.
size_t moab::ByteArrayIterator::step [private] |
Definition at line 442 of file TagCompare.hpp.