boost::array のまね。operator[] に assert をいれたかったので。 More...
#include <carray.h>


Public Types | |
| typedef boost::remove_cv< T >::type | T_simple |
| typedef T | value_type |
| typedef CArrayIterator< T > | iterator |
| typedef CArrayIterator< const T > | const_iterator |
Public Member Functions | |
| iterator | begin () |
| iterator | end () |
| void | fill (T_simple value=T_simple()) |
| T & | operator[] (size_t i) |
| T const & | operator[] (size_t i) const |
| const_iterator | begin () const |
| const_iterator | end () const |
| bool | operator== (const CArray &other) const |
| T & | operator[] (Player p) |
| const T & | operator[] (Player p) const |
| T & | operator[] (PtypeO ptypeo) |
| const T & | operator[] (PtypeO ptypeo) const |
| T & | front () |
| T & | back () |
| const T & | front () const |
| const T & | back () const |
Static Public Member Functions | |
| static size_t | size () |
Public Attributes | |
| T | elements [Capacity] |
| {} による初期化を許すために public にしておく | |
boost::array のまね。operator[] に assert をいれたかったので。
| typedef CArrayIterator<const T> osl::misc::CArray< T, Capacity >::const_iterator |
| typedef CArrayIterator<T> osl::misc::CArray< T, Capacity >::iterator |
| typedef boost::remove_cv<T>::type osl::misc::CArray< T, Capacity >::T_simple |
| typedef T osl::misc::CArray< T, Capacity >::value_type |
| T& osl::misc::CArray< T, Capacity >::back | ( | ) | [inline] |
| const T& osl::misc::CArray< T, Capacity >::back | ( | ) | const [inline] |
| iterator osl::misc::CArray< T, Capacity >::begin | ( | ) | [inline] |
Definition at line 118 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::fill(), osl::misc::CArray< std::string, 10 >::front(), and osl::misc::CArray< std::string, 10 >::operator==().
| const_iterator osl::misc::CArray< T, Capacity >::begin | ( | ) | const [inline] |
| iterator osl::misc::CArray< T, Capacity >::end | ( | ) | [inline] |
Definition at line 119 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::back(), osl::misc::CArray< std::string, 10 >::fill(), and osl::misc::CArray< std::string, 10 >::operator==().
| const_iterator osl::misc::CArray< T, Capacity >::end | ( | ) | const [inline] |
| void osl::misc::CArray< T, Capacity >::fill | ( | T_simple | value = T_simple() | ) | [inline] |
Definition at line 121 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::fill().
| T& osl::misc::CArray< T, Capacity >::front | ( | ) | [inline] |
| const T& osl::misc::CArray< T, Capacity >::front | ( | ) | const [inline] |
| bool osl::misc::CArray< T, Capacity >::operator== | ( | const CArray< T, Capacity > & | other | ) | const [inline] |
| T& osl::misc::CArray< T, Capacity >::operator[] | ( | size_t | i | ) | [inline] |
Definition at line 125 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::operator[]().
| T const& osl::misc::CArray< T, Capacity >::operator[] | ( | size_t | i | ) | const [inline] |
| T& osl::misc::CArray< T, Capacity >::operator[] | ( | Player | p | ) | [inline] |
| const T& osl::misc::CArray< T, Capacity >::operator[] | ( | Player | p | ) | const [inline] |
| T& osl::misc::CArray< T, Capacity >::operator[] | ( | PtypeO | ptypeo | ) | [inline] |
| const T& osl::misc::CArray< T, Capacity >::operator[] | ( | PtypeO | ptypeo | ) | const [inline] |
| static size_t osl::misc::CArray< T, Capacity >::size | ( | ) | [inline, static] |
| T osl::misc::CArray< T, Capacity >::elements[Capacity] |
{} による初期化を許すために public にしておく
Definition at line 113 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::begin(), osl::misc::CArray< std::string, 10 >::end(), and osl::misc::CArray< std::string, 10 >::operator[]().
1.7.6.1