Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Tag< TOOL > Class Template Reference

#include "lib/visitor-dispatcher.hpp"

Description

template<class TOOL>
class lib::visitor::Tag< TOOL >

Type tag for concrete visiting tool classes.

Used to access the previously registered dispatcher trampoline function when handling a visitor invocation.

Definition at line 56 of file visitor-dispatcher.hpp.

Static Public Member Functions

template<class TOOLImpl >
static Tagget (TOOLImpl *const =0)
 

Public Member Functions

 Tag ()
 
 operator size_t () const
 

Static Private Member Functions

static void generateID (size_t &id)
 

Private Attributes

size_t tagID
 tag value
 

Static Private Attributes

static size_t lastRegisteredID
 

Constructor & Destructor Documentation

◆ Tag()

template<class TOOL >
Tag ( )
inline

Definition at line 70 of file visitor-dispatcher.hpp.

Member Function Documentation

◆ generateID()

template<class TOOL >
static void generateID ( size_t &  id)
inlinestaticprivate

Definition at line 62 of file visitor-dispatcher.hpp.

References Tag< TOOL >::lastRegisteredID.

Referenced by Tag< TOOL >::get().

+ Here is the caller graph for this function:

◆ operator size_t()

template<class TOOL >
operator size_t ( ) const
inline

Definition at line 71 of file visitor-dispatcher.hpp.

References Tag< TOOL >::tagID.

◆ get()

template<class TOOL >
template<class TOOLImpl >
static Tag & get ( TOOLImpl * const  = 0)
inlinestatic

Definition at line 76 of file visitor-dispatcher.hpp.

References Tag< TOOL >::generateID(), and Tag< TOOL >::tagID.

Referenced by Dispatcher< TAR, TOOL >::enrol(), Applicable< TOOLImpl, typelist::Node< TAR, TYPES >, BASE >::getTag(), and WrappedStandardExeBuilder::invokeOriginalBuilder().

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

Member Data Documentation

◆ tagID

template<class TOOL >
size_t tagID
private

tag value

Definition at line 58 of file visitor-dispatcher.hpp.

Referenced by Tag< TOOL >::get(), and Tag< TOOL >::operator size_t().

◆ lastRegisteredID

template<class TOOL >
size_t lastRegisteredID
staticprivate

Definition at line 59 of file visitor-dispatcher.hpp.

Referenced by Tag< TOOL >::generateID().

+ Collaboration diagram for Tag< TOOL >:

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