17 namespace InferenceEngine {
34 explicit BlobIterator(LockedMemory<T>&& lk,
size_t offset = 0): _mem(std::move(lk)), _offset(offset) {}
40 BlobIterator& operator++() {
49 void operator++(
int) {
58 bool operator!=(
const BlobIterator& that)
const {
59 return !operator==(that);
66 const T& operator*()
const {
67 return *(_mem.template as<const T*>() + _offset);
75 return *(_mem.template as<T*>() + _offset);
82 bool operator==(
const BlobIterator& that)
const {
83 return &operator*() == &that.operator*();