Skip to content

asio::buffers_iterator

A random access iterator over the bytes in a buffer sequence.

詳細情報

メンバー

buffers_iterator()

Default constructor. Creates an iterator in an undefined state.

asio::buffers_iterator< BufferSequence, ByteType >::buffers_iterator()

operator *()

Dereference an iterator.

reference asio::buffers_iterator< BufferSequence, ByteType >::operator *() const

戻り値

reference

operator->()

Dereference an iterator.

pointer asio::buffers_iterator< BufferSequence, ByteType >::operator->() const

戻り値

pointer

operator

Access an individual element.

reference asio::buffers_iterator< BufferSequence, ByteType >::operator[](std::ptrdiff_t difference) const

引数

  • std::ptrdiff_t difference

戻り値

reference

operator++()

Increment operator (prefix).

buffers_iterator& asio::buffers_iterator< BufferSequence, ByteType >::operator++()

戻り値

buffers_iterator&

operator++()

Increment operator (postfix).

buffers_iterator asio::buffers_iterator< BufferSequence, ByteType >::operator++(int)

引数

  • int ``

戻り値

buffers_iterator

operator--()

Decrement operator (prefix).

buffers_iterator& asio::buffers_iterator< BufferSequence, ByteType >::operator--()

戻り値

buffers_iterator&

operator--()

Decrement operator (postfix).

buffers_iterator asio::buffers_iterator< BufferSequence, ByteType >::operator--(int)

引数

  • int ``

戻り値

buffers_iterator

operator+=()

Addition operator.

buffers_iterator& asio::buffers_iterator< BufferSequence, ByteType >::operator+=(std::ptrdiff_t difference)

引数

  • std::ptrdiff_t difference

戻り値

buffers_iterator&

operator-=()

Subtraction operator.

buffers_iterator& asio::buffers_iterator< BufferSequence, ByteType >::operator-=(std::ptrdiff_t difference)

引数

  • std::ptrdiff_t difference

戻り値

buffers_iterator&

begin()

Construct an iterator representing the beginning of the buffers' data.

static buffers_iterator asio::buffers_iterator< BufferSequence, ByteType >::begin(const BufferSequence &buffers)

引数

  • constBufferSequence & buffers

戻り値

buffers_iterator

end()

Construct an iterator representing the end of the buffers' data.

static buffers_iterator asio::buffers_iterator< BufferSequence, ByteType >::end(const BufferSequence &buffers)

引数

  • constBufferSequence & buffers

戻り値

buffers_iterator