#include <base.hpp>
Public Types | |
typedef enum_iterator< Derived > | const_iterator |
typedef size_t | index_type |
typedef boost::optional< Derived > | optional |
typedef enum_base< Derived, ValueType > | this_type |
typedef ValueType | value_type |
Public Member Functions | |
enum_base () | |
enum_base (index_type index) | |
index_type | index () const |
bool | operator< (const this_type &rhs) const |
bool | operator== (const this_type &rhs) const |
const char * | str () const |
value_type | value () const |
Static Public Member Functions | |
static const_iterator | begin () |
static const_iterator | end () |
static optional | get_by_index (index_type index) |
static optional | get_by_value (value_type value) |
Protected Attributes | |
index_type | m_index |
Friends | |
class | enum_iterator< Derived > |
typedef enum_iterator<Derived> boost::detail::enum_base< Derived, ValueType >::const_iterator |
typedef size_t boost::detail::enum_base< Derived, ValueType >::index_type |
typedef boost::optional<Derived> boost::detail::enum_base< Derived, ValueType >::optional |
Reimplemented in expanded::Level.
typedef enum_base<Derived, ValueType> boost::detail::enum_base< Derived, ValueType >::this_type |
typedef ValueType boost::detail::enum_base< Derived, ValueType >::value_type |
boost::detail::enum_base< Derived, ValueType >::enum_base | ( | ) | [inline] |
boost::detail::enum_base< Derived, ValueType >::enum_base | ( | index_type | index | ) | [inline] |
static const_iterator boost::detail::enum_base< Derived, ValueType >::begin | ( | ) | [inline, static] |
static const_iterator boost::detail::enum_base< Derived, ValueType >::end | ( | ) | [inline, static] |
static optional boost::detail::enum_base< Derived, ValueType >::get_by_index | ( | index_type | index | ) | [inline, static] |
static optional boost::detail::enum_base< Derived, ValueType >::get_by_value | ( | value_type | value | ) | [inline, static] |
index_type boost::detail::enum_base< Derived, ValueType >::index | ( | ) | const [inline] |
bool boost::detail::enum_base< Derived, ValueType >::operator< | ( | const this_type & | rhs | ) | const [inline] |
bool boost::detail::enum_base< Derived, ValueType >::operator== | ( | const this_type & | rhs | ) | const [inline] |
const char* boost::detail::enum_base< Derived, ValueType >::str | ( | ) | const [inline] |
value_type boost::detail::enum_base< Derived, ValueType >::value | ( | ) | const [inline] |
friend class enum_iterator< Derived > [friend] |
index_type boost::detail::enum_base< Derived, ValueType >::m_index [protected] |