#include <bitfield.hpp>
Public Types | |
typedef enum_iterator< T > | const_iterator |
typedef size_t | index_type |
typedef boost::optional< T > | optional |
typedef bitfield_base< T > | this_type |
typedef size_t | value_type |
Public Member Functions | |
bool | any () const |
bitfield_base () | |
bitfield_base (index_type index) | |
size_t | count () const |
bool | none () const |
T & | operator&= (const this_type &rhs) |
bool | operator< (const this_type &rhs) const |
bool | operator== (const this_type &rhs) const |
bool | operator[] (index_type pos) const |
bool | operator[] (const this_type &rhs) const |
T & | operator^= (const this_type &rhs) |
T & | operator|= (const this_type &rhs) |
bool | reset (index_type pos) |
bool | reset (const this_type &rhs) |
bool | set (index_type pos, bool bit=true) |
bool | set (const this_type &rhs, bool bit=true) |
std::string | 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 Member Functions | |
bitfield_base (value_type value, int) | |
Private Types | |
typedef boost::optional < value_type > | optional_value |
Private Attributes | |
value_type | m_value |
Friends | |
class | bitfield_access |
Definition at line 73 of file bitfield.hpp.
typedef enum_iterator<T> boost::detail::bitfield_base< T >::const_iterator |
Definition at line 81 of file bitfield.hpp.
typedef size_t boost::detail::bitfield_base< T >::index_type |
Definition at line 79 of file bitfield.hpp.
typedef boost::optional<T> boost::detail::bitfield_base< T >::optional |
Definition at line 82 of file bitfield.hpp.
typedef boost::optional<value_type> boost::detail::bitfield_base< T >::optional_value [private] |
Definition at line 227 of file bitfield.hpp.
typedef bitfield_base<T> boost::detail::bitfield_base< T >::this_type |
Definition at line 78 of file bitfield.hpp.
typedef size_t boost::detail::bitfield_base< T >::value_type |
Definition at line 80 of file bitfield.hpp.
boost::detail::bitfield_base< T >::bitfield_base | ( | value_type | value, |
int | |||
) | [inline, protected] |
Definition at line 85 of file bitfield.hpp.
boost::detail::bitfield_base< T >::bitfield_base | ( | ) | [inline] |
Definition at line 88 of file bitfield.hpp.
boost::detail::bitfield_base< T >::bitfield_base | ( | index_type | index | ) | [inline] |
Definition at line 89 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::any | ( | ) | const [inline] |
Definition at line 215 of file bitfield.hpp.
static const_iterator boost::detail::bitfield_base< T >::begin | ( | ) | [inline, static] |
Definition at line 96 of file bitfield.hpp.
size_t boost::detail::bitfield_base< T >::count | ( | ) | const [inline] |
Definition at line 209 of file bitfield.hpp.
static const_iterator boost::detail::bitfield_base< T >::end | ( | ) | [inline, static] |
Definition at line 101 of file bitfield.hpp.
static optional boost::detail::bitfield_base< T >::get_by_index | ( | index_type | index | ) | [inline, static] |
Definition at line 116 of file bitfield.hpp.
static optional boost::detail::bitfield_base< T >::get_by_value | ( | value_type | value | ) | [inline, static] |
Definition at line 106 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::none | ( | ) | const [inline] |
Definition at line 221 of file bitfield.hpp.
T& boost::detail::bitfield_base< T >::operator&= | ( | const this_type & | rhs | ) | [inline] |
Definition at line 150 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::operator< | ( | const this_type & | rhs | ) | const [inline] |
Definition at line 139 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::operator== | ( | const this_type & | rhs | ) | const [inline] |
Definition at line 134 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::operator[] | ( | index_type | pos | ) | const [inline] |
Definition at line 162 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::operator[] | ( | const this_type & | rhs | ) | const [inline] |
Definition at line 169 of file bitfield.hpp.
T& boost::detail::bitfield_base< T >::operator^= | ( | const this_type & | rhs | ) | [inline] |
Definition at line 156 of file bitfield.hpp.
T& boost::detail::bitfield_base< T >::operator|= | ( | const this_type & | rhs | ) | [inline] |
Definition at line 144 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::reset | ( | index_type | pos | ) | [inline] |
Definition at line 193 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::reset | ( | const this_type & | rhs | ) | [inline] |
Definition at line 200 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::set | ( | index_type | pos, |
bool | bit = true |
||
) | [inline] |
Definition at line 174 of file bitfield.hpp.
bool boost::detail::bitfield_base< T >::set | ( | const this_type & | rhs, |
bool | bit = true |
||
) | [inline] |
Definition at line 182 of file bitfield.hpp.
std::string boost::detail::bitfield_base< T >::str | ( | ) | const [inline] |
Definition at line 122 of file bitfield.hpp.
value_type boost::detail::bitfield_base< T >::value | ( | ) | const [inline] |
Definition at line 129 of file bitfield.hpp.
friend class bitfield_access [friend] |
Definition at line 228 of file bitfield.hpp.
value_type boost::detail::bitfield_base< T >::m_value [private] |
Definition at line 229 of file bitfield.hpp.