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

#include <flags.h>

+ Inheritance diagram for ledger::flags::supports_flags< T, U >:

Public Types

typedefflags_t
 

Public Member Functions

void add_flags (const flags_t arg)
 
void clear_flags ()
 
void drop_flags (const flags_t arg)
 
flags_t flags () const
 
bool has_flags (const flags_t arg) const
 
supports_flagsoperator= (const supports_flags &other)
 
void set_flags (const flags_t arg)
 
 supports_flags ()
 
 supports_flags (const flags_t &arg)
 
 supports_flags (const supports_flags &arg)
 
 ~supports_flags () throw ()
 

Protected Attributes

flags_t _flags
 

Detailed Description

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

Definition at line 47 of file flags.h.

Member Typedef Documentation

◆ flags_t

template<typename T = boost::uint_least8_t, typename U = T>
typedef T ledger::flags::supports_flags< T, U >::flags_t

Definition at line 50 of file flags.h.

Constructor & Destructor Documentation

◆ supports_flags() [1/3]

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

Definition at line 56 of file flags.h.

References TRACE_CTOR.

◆ supports_flags() [2/3]

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

Definition at line 59 of file flags.h.

References TRACE_CTOR.

◆ supports_flags() [3/3]

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

Definition at line 62 of file flags.h.

References TRACE_CTOR.

◆ ~supports_flags()

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

Definition at line 65 of file flags.h.

References TRACE_DTOR.

Member Function Documentation

◆ add_flags()

template<typename T = boost::uint_least8_t, typename U = T>
void ledger::flags::supports_flags< T, U >::add_flags ( const flags_t arg)
inline

Definition at line 87 of file flags.h.

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

+ Here is the call graph for this function:

◆ clear_flags()

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

Definition at line 84 of file flags.h.

References ledger::flags::supports_flags< T, U >::_flags.

◆ drop_flags()

template<typename T = boost::uint_least8_t, typename U = T>
void ledger::flags::supports_flags< T, U >::drop_flags ( const flags_t arg)
inline

Definition at line 90 of file flags.h.

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

+ Here is the call graph for this function:

◆ flags()

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

Definition at line 74 of file flags.h.

References ledger::flags::supports_flags< T, U >::_flags.

Referenced by ledger::account_t::has_xflags(), ledger::flags::basic_t< T, U >::operator T(), and ledger::flags::basic_t< T, U >::operator U().

+ Here is the caller graph for this function:

◆ has_flags()

template<typename T = boost::uint_least8_t, typename U = T>
bool ledger::flags::supports_flags< T, U >::has_flags ( const flags_t arg) const
inline

Definition at line 77 of file flags.h.

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

+ Here is the call graph for this function:

◆ operator=()

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

Definition at line 69 of file flags.h.

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

+ Here is the call graph for this function:

◆ set_flags()

template<typename T = boost::uint_least8_t, typename U = T>
void ledger::flags::supports_flags< T, U >::set_flags ( const flags_t arg)
inline

Definition at line 81 of file flags.h.

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

Referenced by ledger::flags::basic_t< T, U >::basic_t(), ledger::flags::basic_t< T, U >::basic_t(), ledger::flags::basic_t< T, U >::operator=(), and ledger::flags::basic_t< T, U >::operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _flags


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