ADTF
3.18.2
|
Iterator to iterate thru the StructTypeAccess. More...
Public Types | |
typedef StructElementAccessIterator | self_type |
this iterator type definition | |
typedef StructElementAccess | value_type |
iterator value type definition | |
typedef StructElementAccess & | reference |
reference value type definition | |
typedef const StructElementAccess & | const_reference |
const reference value type definition | |
typedef StructElementAccess * | pointer |
pointer value type definition | |
typedef const StructElementAccess * | const_pointer |
pointer to const data value type definition | |
typedef int | difference_type |
difference value type definition | |
typedef std::forward_iterator_tag | iterator_category |
iterator type definition | |
Public Member Functions | |
StructElementAccessIterator (datamodel::StructType::Elements::const_iterator other_it, datamodel::StructType::Elements::const_iterator end_it, OptionalSize struct_ser, OptionalSize struct_deser) | |
Construct a new Struct Element Access Iterator. More... | |
self_type | operator++ () |
increasing operator to the next position. More... | |
self_type | operator++ (int junk) |
iterator increasing. More... | |
const_reference | operator* () const |
defering access (check for end!) More... | |
const_pointer | operator-> () const |
pointer access (check for end!) More... | |
bool | operator== (const self_type &rhs) const |
checks for equality (refering the same element!) More... | |
bool | operator!= (const self_type &rhs) const |
checks for not equality (does not refer the same element!) More... | |
Private Attributes | |
datamodel::StructType::Elements::const_iterator | _base_it |
datamodel::StructType::Elements::const_iterator | _end_it |
StructElementAccess | _ref |
OptionalSize | _struct_ser |
OptionalSize | _struct_deser |
Iterator to iterate thru the StructTypeAccess.
Definition at line 235 of file dd_struct_access.h.
StructElementAccessIterator | ( | datamodel::StructType::Elements::const_iterator | other_it, |
datamodel::StructType::Elements::const_iterator | end_it, | ||
OptionalSize | struct_ser, | ||
OptionalSize | struct_deser | ||
) |
Construct a new Struct Element Access Iterator.
other_it | Iterator it refers to |
end_it | end position it referes to |
struct_ser | serialized position of the struct access this element belongs to. |
struct_deser | deserialized position of the struct access this element belongs to. |
bool operator!= | ( | const self_type & | rhs | ) | const |
checks for not equality (does not refer the same element!)
rhs | the other iterator |
const_reference operator* | ( | ) | const |
defering access (check for end!)
self_type operator++ | ( | ) |
increasing operator to the next position.
self_type operator++ | ( | int | junk | ) |
iterator increasing.
junk | junks to increase |
const_pointer operator-> | ( | ) | const |
pointer access (check for end!)
bool operator== | ( | const self_type & | rhs | ) | const |
checks for equality (refering the same element!)
rhs | the other iterator |