UdonLibrary 1.0.0
機械システム研究部 C++ ライブラリ
読み取り中…
検索中…
一致する文字列を見つけられません
Udon::RingBuffer< T, Capacity >::const_iterator 構造体

#include <Udon/Types/RingBuffer.hpp>

Udon::RingBuffer< T, Capacity >::const_iterator の継承関係図
Udon::RingBuffer< T, Capacity >::iterator

公開型

using iterator_category = std::random_access_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = const T*
 
using reference = const T&
 

公開メンバ関数

 const_iterator (pointer data, size_t index, size_t size)
 
reference operator* () const
 
pointer operator-> () const
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const_iterator operator+ (size_t offset) const
 
const_iterator operator- (size_t offset) const
 
difference_type operator- (const const_iterator &other) const
 
const_iterator operator+= (size_t offset)
 
const_iterator operator-= (size_t offset)
 
bool operator!= (const const_iterator &other) const
 
bool operator== (const const_iterator &other) const
 
bool operator< (const const_iterator &other) const
 
bool operator<= (const const_iterator &other) const
 
bool operator> (const const_iterator &other) const
 
bool operator>= (const const_iterator &other) const
 
reference operator[] (size_t offset) const
 

公開変数類

pointer m_data
 
size_t m_index
 
size_t m_size
 

型定義メンバ詳解

◆ difference_type

template<typename T , size_t Capacity>
using Udon::RingBuffer< T, Capacity >::const_iterator::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename T , size_t Capacity>
using Udon::RingBuffer< T, Capacity >::const_iterator::iterator_category = std::random_access_iterator_tag

◆ pointer

template<typename T , size_t Capacity>
using Udon::RingBuffer< T, Capacity >::const_iterator::pointer = const T*

◆ reference

template<typename T , size_t Capacity>
using Udon::RingBuffer< T, Capacity >::const_iterator::reference = const T&

◆ value_type

template<typename T , size_t Capacity>
using Udon::RingBuffer< T, Capacity >::const_iterator::value_type = T

構築子と解体子

◆ const_iterator()

template<typename T , size_t Capacity>
Udon::RingBuffer< T, Capacity >::const_iterator::const_iterator ( pointer data,
size_t index,
size_t size )
inline

関数詳解

◆ operator!=()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator!= ( const const_iterator & other) const
inline

◆ operator*()

template<typename T , size_t Capacity>
reference Udon::RingBuffer< T, Capacity >::const_iterator::operator* ( ) const
inline

◆ operator+()

template<typename T , size_t Capacity>
const_iterator Udon::RingBuffer< T, Capacity >::const_iterator::operator+ ( size_t offset) const
inline

◆ operator++()

template<typename T , size_t Capacity>
const_iterator & Udon::RingBuffer< T, Capacity >::const_iterator::operator++ ( )
inline

◆ operator+=()

template<typename T , size_t Capacity>
const_iterator Udon::RingBuffer< T, Capacity >::const_iterator::operator+= ( size_t offset)
inline

◆ operator-() [1/2]

template<typename T , size_t Capacity>
difference_type Udon::RingBuffer< T, Capacity >::const_iterator::operator- ( const const_iterator & other) const
inline

◆ operator-() [2/2]

template<typename T , size_t Capacity>
const_iterator Udon::RingBuffer< T, Capacity >::const_iterator::operator- ( size_t offset) const
inline

◆ operator--()

template<typename T , size_t Capacity>
const_iterator & Udon::RingBuffer< T, Capacity >::const_iterator::operator-- ( )
inline

◆ operator-=()

template<typename T , size_t Capacity>
const_iterator Udon::RingBuffer< T, Capacity >::const_iterator::operator-= ( size_t offset)
inline

◆ operator->()

template<typename T , size_t Capacity>
pointer Udon::RingBuffer< T, Capacity >::const_iterator::operator-> ( ) const
inline

◆ operator<()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator< ( const const_iterator & other) const
inline

◆ operator<=()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator<= ( const const_iterator & other) const
inline

◆ operator==()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator== ( const const_iterator & other) const
inline

◆ operator>()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator> ( const const_iterator & other) const
inline

◆ operator>=()

template<typename T , size_t Capacity>
bool Udon::RingBuffer< T, Capacity >::const_iterator::operator>= ( const const_iterator & other) const
inline

◆ operator[]()

template<typename T , size_t Capacity>
reference Udon::RingBuffer< T, Capacity >::const_iterator::operator[] ( size_t offset) const
inline

メンバ詳解

◆ m_data

template<typename T , size_t Capacity>
pointer Udon::RingBuffer< T, Capacity >::const_iterator::m_data

◆ m_index

template<typename T , size_t Capacity>
size_t Udon::RingBuffer< T, Capacity >::const_iterator::m_index

◆ m_size

template<typename T , size_t Capacity>
size_t Udon::RingBuffer< T, Capacity >::const_iterator::m_size

この構造体詳解は次のファイルから抽出されました: