m_HookCount.Get() != 0;
69 returnm_HookCount.Get() == 0;
76 voidSetGlobalHook(
THook* hook);
80 voidResetGlobalHook(
void);
81 voidResetPathHook(
CObjectStack* stk,
const string& path);
87 const THook* hook =
key.GetHook(
this);
89hook = m_GlobalHook.GetPointer();
91 return const_cast<THook*
>(hook);
95 return const_cast<THook*
>(m_PathHooks.GetHook(stk));
107 template<
classHook,
typenameFunction>
199 template<
classHook,
typenameFunction>
CAtomicCounter_WithAutoInit â.
Include a standard set of the NCBI C++ Toolkit most basic headers.
static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)
atomic< TFunction > m_CurrentFunction
CLocalHookSetBase TLocalHooks
TFunction m_DefaultFunction
pair< TFunction, TFunction > TFunctions
void ResetPathHook(CObjectStack *stk, const string &path)
CHookData(TFunction typeFunction, TFunction hookFunction)
void ResetPathHook(CObjectStack *stk, const string &path)
TFunctions m_HookFunctions
void SetPathHook(CObjectStack *stk, const string &path, THook *hook)
void SetDefaultFunction1st(TFunction func)
void x_SetCurrentFunctions(TFunctions funcs)
void x_SetCurrentFunction(TFunction func)
TFunction GetDefaultFunction2nd(void) const
TFunction GetDefaultFunction(void) const
atomic< TFunction > m_CurrentFunction2nd
TFunction GetCurrentFunction(void) const
void SetLocalHook(TLocalHooks &key, THook *hook)
TFunction GetCurrentFunction1st(void) const
void ResetGlobalHook(void)
void SetPathHook(CObjectStack *stk, const string &path, THook *hook)
CLocalHookSet< THook > TLocalHooks
void SetLocalHook(TLocalHooks &key, THook *hook)
atomic< TFunction > m_CurrentFunction1st
void SetDefaultFunction2nd(TFunction func)
void SetDefaultFunction(TFunction func)
void x_SetCurrentFunctions()
CAtomicCounter_WithAutoInit m_HookCount
TFunction GetCurrentFunction2nd(void) const
void SetPathHook(CObjectStack *stk, const string &path, THook *hook)
void ResetLocalHook(TLocalHooks &key)
CLocalHookSet< THook > TLocalHooks
void ResetLocalHook(TLocalHooks &key)
void ResetGlobalHook(void)
void ResetGlobalHook(void)
THook * GetPathHook(CObjectStack &stk) const
void SetLocalHook(TLocalHooks &key, THook *hook)
void SetGlobalHook(THook *hook)
THook * GetPathHook(CObjectStack &stk) const
THook * GetHook(const TLocalHooks &key) const
void SetGlobalHook(THook *hook)
bool HaveHooks(void) const
THook * GetHook(const TLocalHooks &key) const
THook * GetPathHook(CObjectStack &stk) const
THook * GetHook(const TLocalHooks &key) const
void ResetPathHook(CObjectStack *stk, const string &path)
void x_SetCurrentFunction()
void ResetLocalHook(TLocalHooks &key)
CRef< THook > m_GlobalHook
CHookPairData(TFunctions typeFunctions, TFunctions hookFunctions)
void SetDefaultFunctions(TFunctions funcs)
TFunction GetDefaultFunction1st(void) const
TFunctions m_DefaultFunctions
void SetGlobalHook(THook *hook)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XSERIAL_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4