Class SBCReferenceList::const_reverse_iterator#
ClassList > SBCReferenceList > const_reverse_iterator
Inherits the following classes: SBCReferenceListLinkPointer
Inherited by the following classes: SBCReferenceOwnerList::const_reverse_iterator
Public Functions#
| Type | Name |
|---|---|
| const_reverse_iterator () Default constructs a const reverse iterator with a null link. |
|
| const_reverse_iterator (SBCReferenceListLink * referenceListLink) Constructs a const reverse iterator that points to the specified list link. |
|
| const_reverse_iterator (const const_reverse_iterator & i) Copy constructs a const reverse iterator from another const reverse iterator. |
|
| SBCReferenceTarget * | getReferenceTarget () const Returns the reference target associated with this const_reverse_iterator. |
| SBCReferenceToTarget * | getReferenceToTarget () const Returns the reference-to-target object associated with this const_reverse_iterator. |
| bool | operator!= (const const_reverse_iterator & i) noexcept const Checks if two const reverse iterators refer to different reference targets. |
| SBCReferenceTarget * | operator* () const Dereferences the const reverse iterator to obtain the referenced target. |
| const_reverse_iterator & | operator++ () Moves the const reverse iterator to the previous element in the list. |
| const_reverse_iterator | operator++ (int) Moves the const reverse iterator to the previous element, returning the original iterator. |
| const_reverse_iterator & | operator-- () Moves the const reverse iterator to the next element in the list. |
| const_reverse_iterator | operator-- (int) Moves the const reverse iterator to the next element, returning the original iterator. |
| const_reverse_iterator & | operator= (SBCReferenceListLink * referenceListLink) Assigns a new list link to the const reverse iterator. |
| const_reverse_iterator & | operator= (const const_reverse_iterator & i) Copies the const reverse iterator from another const reverse iterator. |
| bool | operator== (const const_reverse_iterator & i) noexcept const Checks if two const reverse iterators refer to the same reference target. |
| virtual | ~const_reverse_iterator () Destroys the const reverse iterator. |
Public Functions Documentation#
function const_reverse_iterator [1/3]#
Default constructs a const reverse iterator with a null link.
function const_reverse_iterator [2/3]#
Constructs a const reverse iterator that points to the specified list link.
SBCReferenceList::const_reverse_iterator::const_reverse_iterator (
SBCReferenceListLink * referenceListLink
)
Parameters:
lPointer to the list link that the const reverse iterator will refer to.
function const_reverse_iterator [3/3]#
Copy constructs a const reverse iterator from another const reverse iterator.
SBCReferenceList::const_reverse_iterator::const_reverse_iterator (
const const_reverse_iterator & i
)
Parameters:
iReference to the const reverse iterator to copy.
function getReferenceTarget#
Returns the reference target associated with this const_reverse_iterator.
Retrieves the reference target from the underlying reference list link.
Returns:
Pointer to the SBCReferenceTarget.
function getReferenceToTarget#
Returns the reference-to-target object associated with this const_reverse_iterator.
Retrieves the reference-to-target from the underlying reference list link.
Returns:
Pointer to the SBCReferenceToTarget.
function operator!=#
Checks if two const reverse iterators refer to different reference targets.
bool SBCReferenceList::const_reverse_iterator::operator!= (
const const_reverse_iterator & i
) noexcept const
Parameters:
iConst reverse iterator to compare with.
Returns:
true if the iterators refer to different targets, false otherwise.
function operator*#
Dereferences the const reverse iterator to obtain the referenced target.
Returns:
Pointer to the reference target.
function operator++#
Moves the const reverse iterator to the previous element in the list.
Returns:
Reference to the incremented const reverse iterator.
function operator++#
Moves the const reverse iterator to the previous element, returning the original iterator.
Returns:
Const reverse iterator value before the increment.
function operator--#
Moves the const reverse iterator to the next element in the list.
Returns:
Reference to the decremented const reverse iterator.
function operator--#
Moves the const reverse iterator to the next element, returning the original iterator.
Returns:
Const reverse iterator value before the decrement.
function operator=#
Assigns a new list link to the const reverse iterator.
const_reverse_iterator & SBCReferenceList::const_reverse_iterator::operator= (
SBCReferenceListLink * referenceListLink
)
Parameters:
lPointer to the new list link.
Returns:
Reference to this const reverse iterator after assignment.
function operator=#
Copies the const reverse iterator from another const reverse iterator.
const_reverse_iterator & SBCReferenceList::const_reverse_iterator::operator= (
const const_reverse_iterator & i
)
Parameters:
iConst reverse iterator to copy from.
Returns:
Reference to this const reverse iterator after assignment.
function operator==#
Checks if two const reverse iterators refer to the same reference target.
bool SBCReferenceList::const_reverse_iterator::operator== (
const const_reverse_iterator & i
) noexcept const
Parameters:
iConst reverse iterator to compare with.
Returns:
true if both iterators refer to the same target, false otherwise.
function ~const_reverse_iterator#
Destroys the const reverse iterator.