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 にしておく More... | |
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 |
|
inline |
|
inline |
|
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==().
|
inline |
|
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==().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 125 of file carray.h.
Referenced by osl::misc::CArray< std::string, 10 >::operator[]().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
| 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.8.4