Represents a wrap pointer iterator.
Public Aliases | |
| using | value_type |
| Represents the value type. | |
| using | iterator_category |
| Represents the iterator category type. | |
| using | iterator_concept |
| Represents the iterator concept type. | |
| using | difference_type |
| Represents the value type. | |
| using | pointer |
| Represents the pointer of the value type. | |
| using | const_pointer |
| Represents the const pointer of the value type. | |
| using | reference |
| Represents the reference of the value type. | |
| using | const_reference |
| Represents the const reference of the value type. | |
Public Constructors | |
| wrap_pointer_iterator ()=default | |
| Initializes a new instance of the xtd::collections::generic::helpers::wrap_pointer_iterator class. | |
| wrap_pointer_iterator (value_t pointer) noexcept | |
| Initializes a new instance of the xtd::collections::generic::helpers::wrap_pointer_iterator class with specified pointer value. | |
Public Properties | |
| const value_t & | data () const noexcept |
| Gets iterator data. | |
| value_t & | data () noexcept |
| Gets iterator data. | |
Public methods | |
| int32 | compare_to (const wrap_pointer_iterator &rhs) const noexcept override |
| bool | equals (const wrap_pointer_iterator &rhs) const noexcept override |
Public Operators | |
| const std::remove_pointer_t< value_t > & | operator* () const noexcept |
| Returns reference to the current element, or a proxy holding it. | |
| std::remove_pointer_t< value_t > & | operator* () noexcept |
| Returns reference to the current element, or a proxy holding it. | |
| const value_t & | operator-> () const noexcept |
| Returns pointer to the current element, or a proxy holding it. | |
| value_t & | operator-> () noexcept |
| Returns pointer to the current element, or a proxy holding it. | |
| wrap_pointer_iterator & | operator++ () const noexcept |
| Pre increments the underlying iterator. | |
| wrap_pointer_iterator | operator++ (int) const noexcept |
| Post increments the underlying iterator. | |
| wrap_pointer_iterator & | operator-- () const noexcept |
| Pre decrements the underlying iterator. | |
| wrap_pointer_iterator | operator-- (int) const noexcept |
| Post decrements the underlying iterator. | |
| wrap_pointer_iterator | operator+ (xtd::size value) const noexcept |
| Add operator with specified value. | |
| wrap_pointer_iterator & | operator+= (xtd::size value) noexcept |
| Add equal operator with specified value. | |
| xtd::ptrdiff | operator- (wrap_pointer_iterator value) const noexcept |
| Subtract The specified iterator from the current iterator. | |
Additional Inherited Members | |
| virtual int32 | compare_to (const wrap_pointer_iterator< value_t, std::bidirectional_iterator_tag > &obj) const noexcept=0 |
| Compares the current instance with another object of the same type. | |
| virtual bool | equals (const wrap_pointer_iterator< value_t, std::bidirectional_iterator_tag > &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::value_type |
Represents the value type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::iterator_category |
Represents the iterator category type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::iterator_concept |
Represents the iterator concept type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::difference_type |
Represents the value type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::pointer |
Represents the pointer of the value type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::const_pointer |
Represents the const pointer of the value type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::reference |
Represents the reference of the value type.
| using xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t >::const_reference |
Represents the const reference of the value type.
|
default |
Initializes a new instance of the xtd::collections::generic::helpers::wrap_pointer_iterator class.
|
inlineexplicitnoexcept |
Initializes a new instance of the xtd::collections::generic::helpers::wrap_pointer_iterator class with specified pointer value.
| pointer | The pointer value. |
|
inlinenoexcept |
Gets iterator data.
|
inlinenoexcept |
Gets iterator data.
|
inlinenoexcept |
Returns reference to the current element, or a proxy holding it.
|
inlinenoexcept |
Returns reference to the current element, or a proxy holding it.
|
inlinenoexcept |
Returns pointer to the current element, or a proxy holding it.
|
inlinenoexcept |
Returns pointer to the current element, or a proxy holding it.
|
inlinenoexcept |
Pre increments the underlying iterator.
|
inlinenoexcept |
Post increments the underlying iterator.
|
inlinenoexcept |
Pre decrements the underlying iterator.
|
inlinenoexcept |
Post decrements the underlying iterator.
|
inlinenoexcept |
Add operator with specified value.
| value | The number to add to the underlying iterator. |
|
inlinenoexcept |
Add equal operator with specified value.
| value | The number to add to the underlying iterator. |
|
inlinenoexcept |
Subtract The specified iterator from the current iterator.
| value | The iterator to subtract from the current iterator. |