Lumino
ln::ReadOnlyList< TItem > Class Template Reference

Ref クラスから List クラスへ読み取り専用アクセスする際に使用するインターフェイスです。 More...

#include <List.hpp>

Inheritance diagram for ln::ReadOnlyList< TItem >:
ln::RefObject

Public Member Functions

bool isEmpty () const noexcept
 配列が空であるかを確認します。
 
int size () const noexcept
 格納されている要素の数を取得します。
 
reference front ()
 先頭要素の参照を返します。
 
const_reference front () const
 先頭要素の参照を返します。
 
reference back ()
 終端要素の参照を返します。
 
const_reference back () const
 終端要素の参照を返します。
 
TItem & operator[] (int index)
 指定したインデックスにある要素への参照を取得します。
 
const TItem & operator[] (int index) const
 指定したインデックスにある要素への参照を取得します。
 
iterator begin () noexcept
 先頭要素を指すイテレータを取得します。
 
const_iterator begin () const noexcept
 先頭要素を指すイテレータを取得します。
 
iterator end () noexcept
 末尾の次を指すイテレータを取得します。
 
const_iterator end () const noexcept
 末尾の次を指すイテレータを取得します。
 

Additional Inherited Members

- Protected Member Functions inherited from ln::RefObject
virtual void finalize ()
 参照がなくなり、オブジェクトが削除されようとしているときに呼び出されます。実装コードでは仮想関数を呼び出すことができます。主にデストラクタの制限を回避するために使用します。
 

Detailed Description

template<typename TItem>
class ln::ReadOnlyList< TItem >

Ref クラスから List クラスへ読み取り専用アクセスする際に使用するインターフェイスです。


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