Dev Essential  1.6.3
Loading...
Searching...
No Matches
ddl::dd::StructElementAccessIterator Class Reference

Iterator to iterate thru the StructTypeAccess. More...

#include <dd_struct_access.h>

Public Types

typedef StructElementAccessIterator self_type
 this iterator type definition
 
typedef StructElementAccess value_type
 iterator value type definition
 
typedef StructElementAccessreference
 reference value type definition
 
typedef const StructElementAccessconst_reference
 const reference value type definition
 
typedef StructElementAccesspointer
 pointer value type definition
 
typedef const StructElementAccessconst_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 (const StructElementAccessIterator &)
 Copy CTOR.
 
StructElementAccessIteratoroperator= (const StructElementAccessIterator &)
 Copy Assignment Operator.
 
 StructElementAccessIterator (StructElementAccessIterator &&) noexcept
 Move CTOR.
 
StructElementAccessIteratoroperator= (StructElementAccessIterator &&) noexcept
 Move Assignment Operator.
 
 ~StructElementAccessIterator ()
 DTOR.
 
self_type operator++ ()
 increasing operator to the next position.
 
self_type operator++ (int junk)
 iterator increasing.
 
const_reference operator* () const
 defering access (check for end!)
 
const_pointer operator-> () const
 pointer access (check for end!)
 
bool operator== (const self_type &rhs) const
 checks for equality (refering the same element!)
 
bool operator!= (const self_type &rhs) const
 checks for not equality (does not refer the same element!)
 

Detailed Description

Iterator to iterate thru the StructTypeAccess.

See also
StructTypeAccess::begin, StructTypeAccess::cbegin

Member Function Documentation

◆ operator!=()

bool ddl::dd::StructElementAccessIterator::operator!= ( const self_type & rhs) const

checks for not equality (does not refer the same element!)

Parameters
rhsthe other iterator
Returns
true is not equal
false is equal

◆ operator*()

const_reference ddl::dd::StructElementAccessIterator::operator* ( ) const

defering access (check for end!)

Returns
const reference

◆ operator++() [1/2]

self_type ddl::dd::StructElementAccessIterator::operator++ ( )

increasing operator to the next position.

Returns
self_type

◆ operator++() [2/2]

self_type ddl::dd::StructElementAccessIterator::operator++ ( int junk)

iterator increasing.

Parameters
junkjunks to increase
Returns
self_type

◆ operator->()

const_pointer ddl::dd::StructElementAccessIterator::operator-> ( ) const

pointer access (check for end!)

Returns
const pointer

◆ operator==()

bool ddl::dd::StructElementAccessIterator::operator== ( const self_type & rhs) const

checks for equality (refering the same element!)

Parameters
rhsthe other iterator
Returns
true is equal
false is not equal

The documentation for this class was generated from the following file: