sge::bitfield< Enum, Size, InternalType > Class Template Reference

#include <bitfield.hpp>

Inheritance diagram for sge::bitfield< Enum, Size, InternalType >:

sge::safe_bool< T > sge::safe_bool_base

List of all members.

Public Types

typedef std::size_t size_type
typedef std::ptrdiff_t difference_type
typedef bool value_type
typedef proxy reference
typedef value_type const_reference
typedef iterator_impl
< array_type &, reference
iterator
typedef iterator_impl< const
array_type &, const_reference
const_iterator
typedef std::reverse_iterator
< iterator
reverse_iterator
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator

Public Member Functions

 bitfield ()
 bitfield (Enum e)
bitfieldoperator= (Enum e)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
const_reference operator[] (Enum index) const
reference operator[] (Enum index)
bitfieldoperator|= (Enum e)
bitfieldoperator|= (bitfield const &)
bitfield operator| (Enum r) const
bitfield operator| (bitfield const &) const
bitfieldoperator &= (bitfield const &r)
bitfield operator & (bitfield const &r) const
value_type operator & (Enum where) const
bitfieldoperator^= (bitfield const &)
bitfield operator^ (bitfield const &) const
bitfield operator~ () const
void set (Enum where, value_type value)
value_type get (Enum where) const
void clear ()
bool operator== (bitfield const &) const
bool operator!= (bitfield const &) const

Classes

class  iterator_impl
struct  iterator_type_helper
class  proxy_impl

template<typename Enum, Enum Size, typename InternalType = unsigned>
class sge::bitfield< Enum, Size, InternalType >


Member Typedef Documentation

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef std::size_t sge::bitfield< Enum, Size, InternalType >::size_type

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef std::ptrdiff_t sge::bitfield< Enum, Size, InternalType >::difference_type

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef bool sge::bitfield< Enum, Size, InternalType >::value_type

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef proxy sge::bitfield< Enum, Size, InternalType >::reference

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef value_type sge::bitfield< Enum, Size, InternalType >::const_reference

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef iterator_impl<array_type&,reference> sge::bitfield< Enum, Size, InternalType >::iterator

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef iterator_impl<const array_type&,const_reference> sge::bitfield< Enum, Size, InternalType >::const_iterator

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef std::reverse_iterator<iterator> sge::bitfield< Enum, Size, InternalType >::reverse_iterator

template<typename Enum, Enum Size, typename InternalType = unsigned>
typedef std::reverse_iterator<const_iterator> sge::bitfield< Enum, Size, InternalType >::const_reverse_iterator


Constructor & Destructor Documentation

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::bitfield (  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::bitfield ( Enum  e  )  [inline]


Member Function Documentation

template<typename Enum, Enum Size, typename InternalType = unsigned>
bitfield& sge::bitfield< Enum, Size, InternalType >::operator= ( Enum  e  ) 

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::iterator sge::bitfield< Enum, Size, InternalType >::begin (  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::const_iterator sge::bitfield< Enum, Size, InternalType >::begin (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType = unsigned>
iterator sge::bitfield< Enum, Size, InternalType >::end (  ) 

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::const_iterator sge::bitfield< Enum, Size, InternalType >::end (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::reverse_iterator sge::bitfield< Enum, Size, InternalType >::rbegin (  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::const_reverse_iterator sge::bitfield< Enum, Size, InternalType >::rbegin (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::reverse_iterator sge::bitfield< Enum, Size, InternalType >::rend (  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::const_reverse_iterator sge::bitfield< Enum, Size, InternalType >::rend (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::size_type sge::bitfield< Enum, Size, InternalType >::size (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::const_reference sge::bitfield< Enum, Size, InternalType >::operator[] ( Enum  index  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::reference sge::bitfield< Enum, Size, InternalType >::operator[] ( Enum  index  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > & sge::bitfield< Enum, Size, InternalType >::operator|= ( Enum  e  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > & sge::bitfield< Enum, Size, InternalType >::operator|= ( bitfield< Enum, Size, InternalType > const &  r  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > sge::bitfield< Enum, Size, InternalType >::operator| ( Enum  r  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > sge::bitfield< Enum, Size, InternalType >::operator| ( bitfield< Enum, Size, InternalType > const &  r  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > & sge::bitfield< Enum, Size, InternalType >::operator &= ( bitfield< Enum, Size, InternalType > const &  r  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > sge::bitfield< Enum, Size, InternalType >::operator & ( bitfield< Enum, Size, InternalType > const &  r  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::value_type sge::bitfield< Enum, Size, InternalType >::operator & ( Enum  where  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > & sge::bitfield< Enum, Size, InternalType >::operator^= ( bitfield< Enum, Size, InternalType > const &  r  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > sge::bitfield< Enum, Size, InternalType >::operator^ ( bitfield< Enum, Size, InternalType > const &  r  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType > sge::bitfield< Enum, Size, InternalType >::operator~ (  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
void sge::bitfield< Enum, Size, InternalType >::set ( Enum  where,
value_type  value 
) [inline]

template<typename Enum, Enum Size, typename InternalType>
sge::bitfield< Enum, Size, InternalType >::value_type sge::bitfield< Enum, Size, InternalType >::get ( Enum  where  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
void sge::bitfield< Enum, Size, InternalType >::clear (  )  [inline]

template<typename Enum, Enum Size, typename InternalType>
bool sge::bitfield< Enum, Size, InternalType >::operator== ( bitfield< Enum, Size, InternalType > const &  r  )  const [inline]

template<typename Enum, Enum Size, typename InternalType>
bool sge::bitfield< Enum, Size, InternalType >::operator!= ( bitfield< Enum, Size, InternalType > const &  r  )  const [inline]


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

Generated on Wed Sep 10 22:17:49 2008 for sge by  doxygen 1.5.5