NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
SPsgCgiEntries Struct Reference

Search Toolkit Book for SPsgCgiEntries

+ Collaboration diagram for SPsgCgiEntries:

Public Member Functions

 SPsgCgiEntries (const TCgiEntries &e)
 
bool Has (const string &key) const
 
template<typename TF >
invoke_result_t< TF, const string & > Get (const string &key, TF f, invoke_result_t< TF, const string & > def_value) const
 
template<typename T >
T GetNumeric (const string &key) const
 
const stringGetString (const string &key) const
 
auto GetStringList (const string &key) const
 

Public Attributes

const TCgiEntriesentries
 

Detailed Description

Definition at line 42 of file psg_client_cgi.cpp.

Constructor & Destructor Documentation

◆ SPsgCgiEntries()

SPsgCgiEntries::SPsgCgiEntries ( const TCgiEntries e)
inline

Definition at line 46 of file psg_client_cgi.cpp.

Member Function Documentation

◆ Get()

template<typename TF >
invoke_result_t< TF, const string & > SPsgCgiEntries::Get ( const string key,
TF  f,
invoke_result_t< TF, const string & >  def_value 
) const

◆ GetNumeric()

template<typename T >
T SPsgCgiEntries::GetNumeric ( const string key) const
inline

Definition at line 54 of file psg_client_cgi.cpp.

References Get(), ncbi::grid::netcache::search::fields::key, and T.

◆ GetString()

const string& SPsgCgiEntries::GetString ( const string key) const
inline

Definition at line 55 of file psg_client_cgi.cpp.

References Get(), kEmptyStr, and ncbi::grid::netcache::search::fields::key.

◆ GetStringList()

auto SPsgCgiEntries::GetStringList ( const string key) const

◆ Has()

bool SPsgCgiEntries::Has ( const string key) const
inline

Member Data Documentation

◆ entries

const TCgiEntries& SPsgCgiEntries::entries

Definition at line 44 of file psg_client_cgi.cpp.

Referenced by Get(), GetStringList(), and Has().


The documentation for this struct was generated from the following file:
Modified on Wed Sep 04 15:02:02 2024 by modify_doxy.py rev. 669887