A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCRequestContextGuard__Base.html below:

NCBI C++ ToolKit: CRequestContextGuard_Base Class Reference

Search Toolkit Book for CRequestContextGuard_Base

Take guard of the current CRequestContext, handle app-state, start/stop logging and request status in the dtor. More...

#include <corelib/request_ctx.hpp>

Collaboration diagram for CRequestContextGuard_Base:

[legend] Public Types enum   EFlags { fPrintRequestStart = 1 << 0 }   typedef int  TFlags   Public Member Functions   CRequestContextGuard_Base (CRequestContext *context, TFlags flags=0)   Initialize guard. More...
    ~CRequestContextGuard_Base (void)   Destroy guard. More...
  void  SetStatus (int status)   Set request context status. More...
  void  SetDefaultErrorStatus (int status)   Set default error status, which will be used if an uncaught exception is detected. More...
  CRequestContextGetRequestContext () const   Get the guarded request context. More...
  void  Release (void)   Release the guarded context, restore the saved context if any, do not perform any other actions (logging, setting status). More...
  Private Attributes TFlags  m_Flags = 0   int  m_ErrorStatus = 500   CRef< CRequestContextm_SavedContext   CRef< CRequestContextm_RequestContext   bool  m_OriginatesFromThrow = false   Detailed Description

Take guard of the current CRequestContext, handle app-state, start/stop logging and request status in the dtor.

Definition at line 649 of file request_ctx.hpp.

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


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