ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
ScopeStoreHelper< T, TStackedThreadValues > Struct Template Reference

Description:

template<typename T, bool TStackedThreadValues>
struct alib::lox::detail::ScopeStoreHelper< T, TStackedThreadValues >

A helper class that has two specializations to implement different versions of methods ScopeStore::Walk and ScopeStore::access for each boolean value of template argument TStackedThreadValues .

Template Parameters
TThe stored object type.
TStackedThreadValuesIf true, values stored for thread scopes will be always replaced instead of appended. This is for example false for Log Data and Log Once and true for Scope Domains and Prefix Logables.

Definition at line 92 of file scopestore.inl.

Public Method Index:

doAccess (ScopeStore< T, TStackedThreadValues > &self, int cmd, T value)
 
doWalk (ScopeStore< T, TStackedThreadValues > &self)
 

Method Details:

◆ doAccess()

template<typename T , bool TStackedThreadValues>
T doAccess ( ScopeStore< T, TStackedThreadValues > & self,
int cmd,
T value )

Implements ScopeStore::access with two specializations.

Parameters
selfThe ScopeStore that invoked us.
cmdParameter cmd of the original method.
valueParameter value of the original method.
Returns
The result as specified in ScopeStore::access .

◆ doWalk()

template<typename T , bool TStackedThreadValues>
T doWalk ( ScopeStore< T, TStackedThreadValues > & self)

Implements ScopeStore::Walk with two specializations.

Parameters
selfThe ScopeStore that invoked us.
Returns
The result as specified in ScopeStore::Walk .

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