Loading...
Searching...
No Matches
ledger::flags::basic_t< T, U > Class Template Reference

#include <flags.h>

Inheritance diagram for ledger::flags::basic_t< T, U >:
Collaboration diagram for ledger::flags::basic_t< T, U >:

Public Types

typedef boost::uint_least8_t flags_t

Public Member Functions

void add_flags (const flags_t arg)
 basic_t ()
 basic_t (const basic_t &other)
 basic_t (const T &bits)
 basic_t (const U &bits)
void clear_flags ()
void drop_flags (const flags_t arg)
flags_t flags () const
bool has_flags (const flags_t arg) const
basic_t minus_flags (const T &arg) const
 operator T () const
 operator U () const
basic_toperator= (const basic_t &other)
basic_toperator= (const T &bits)
basic_t plus_flags (const T &arg) const
void set_flags (const flags_t arg)
 ~basic_t () throw ()

Protected Attributes

flags_t _flags

Detailed Description

template<typename T = boost::uint_least8_t, typename U = T>
class ledger::flags::basic_t< T, U >

Definition at line 96 of file flags.h.

Member Typedef Documentation

◆ flags_t

typedef boost::uint_least8_t ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::flags_t
inherited

Definition at line 50 of file flags.h.

Constructor & Destructor Documentation

◆ basic_t() [1/4]

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::basic_t ( )
inline

Definition at line 99 of file flags.h.

◆ basic_t() [2/4]

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::basic_t ( const T & bits)
inline

Definition at line 102 of file flags.h.

◆ basic_t() [3/4]

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::basic_t ( const U & bits)
inline

Definition at line 106 of file flags.h.

◆ ~basic_t()

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::~basic_t ( )
throw ( )
inline

Definition at line 110 of file flags.h.

◆ basic_t() [4/4]

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::basic_t ( const basic_t< T, U > & other)
inline

Definition at line 114 of file flags.h.

Member Function Documentation

◆ add_flags()

void ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::add_flags ( const flags_t arg)
inlineinherited

Definition at line 87 of file flags.h.

◆ clear_flags()

void ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::clear_flags ( )
inlineinherited

Definition at line 84 of file flags.h.

◆ drop_flags()

void ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::drop_flags ( const flags_t arg)
inlineinherited

Definition at line 90 of file flags.h.

◆ flags()

flags_t ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::flags ( ) const
inlineinherited

Definition at line 74 of file flags.h.

◆ has_flags()

bool ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::has_flags ( const flags_t arg) const
inlineinherited

Definition at line 77 of file flags.h.

◆ minus_flags()

template<typename T = boost::uint_least8_t, typename U = T>
basic_t ledger::flags::basic_t< T, U >::minus_flags ( const T & arg) const
inline

Definition at line 139 of file flags.h.

◆ operator T()

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::operator T ( ) const
inline

Definition at line 127 of file flags.h.

◆ operator U()

template<typename T = boost::uint_least8_t, typename U = T>
ledger::flags::basic_t< T, U >::operator U ( ) const
inline

Definition at line 130 of file flags.h.

References ledger::flags::supports_flags< T, U >::flags().

Here is the call graph for this function:

◆ operator=() [1/2]

template<typename T = boost::uint_least8_t, typename U = T>
basic_t & ledger::flags::basic_t< T, U >::operator= ( const basic_t< T, U > & other)
inline

Definition at line 118 of file flags.h.

◆ operator=() [2/2]

template<typename T = boost::uint_least8_t, typename U = T>
basic_t & ledger::flags::basic_t< T, U >::operator= ( const T & bits)
inline

Definition at line 122 of file flags.h.

◆ plus_flags()

template<typename T = boost::uint_least8_t, typename U = T>
basic_t ledger::flags::basic_t< T, U >::plus_flags ( const T & arg) const
inline

Definition at line 134 of file flags.h.

◆ set_flags()

void ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::set_flags ( const flags_t arg)
inlineinherited

Definition at line 81 of file flags.h.

Referenced by ledger::flags::basic_t< parse_flags_enum_t, uint_least8_t >::operator=(), and ledger::flags::basic_t< parse_flags_enum_t, uint_least8_t >::operator=().

Here is the caller graph for this function:

Member Data Documentation

◆ _flags

flags_t ledger::flags::supports_flags< boost::uint_least8_t, boost::uint_least8_t >::_flags
protectedinherited

Definition at line 53 of file flags.h.


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