NCBI C++ ToolKit
Classes | Static Public Member Functions | Private Types | Static Private Member Functions | List of all members
SRequestBuilder Struct Reference

Search Toolkit Book for SRequestBuilder

#include "processing.hpp"
(Private to src/app/pubseq_gateway/client.)

Classes

struct  SImpl
 
struct  SReader
 
struct  SReader< CArgs >
 
struct  SReader< CJson_ConstObject >
 
struct  SReader< SPsgCgiEntries >
 

Static Public Member Functions

template<class TRequest , class TInput , class... TArgs>
static shared_ptr< TRequest > Build (const TInput &input, TArgs &&... args)
 
template<class TInput , class... TArgs>
static shared_ptr< CPSG_RequestBuild (const string &name, const TInput &input, TArgs &&... args)
 
static const initializer_list< SDataFlag > & GetDataFlags ()
 
static const initializer_list< SInfoFlag > & GetInfoFlags ()
 
template<class TInput >
static SResolveParams GetResolveParams (const TInput &input)
 

Private Types

using TSpecified = function< bool(const string &)>
 
using TExclude = function< void(string)>
 

Static Private Member Functions

static CPSG_BioId::TType GetBioIdType (const string &type)
 
static EPSG_AccSubstitution GetAccSubstitution (const string &acc_substitution)
 

Detailed Description

Definition at line 388 of file processing.hpp.

Member Typedef Documentation

◆ TExclude

using SRequestBuilder::TExclude = function<void(string)>
private

Definition at line 404 of file processing.hpp.

◆ TSpecified

using SRequestBuilder::TSpecified = function<bool(const string&)>
private

Definition at line 403 of file processing.hpp.

Member Function Documentation

◆ Build() [1/2]

template<class TInput , class... TArgs>
shared_ptr< CPSG_Request > SRequestBuilder::Build ( const string name,
const TInput &  input,
TArgs &&...  args 
)
static

Definition at line 513 of file processing.hpp.

References input().

◆ Build() [2/2]

template<class TRequest , class TInput , class... TArgs>
shared_ptr< TRequest > SRequestBuilder::Build ( const TInput &  input,
TArgs &&...  args 
)
static

◆ GetAccSubstitution()

EPSG_AccSubstitution SRequestBuilder::GetAccSubstitution ( const string acc_substitution)
inlinestaticprivate

◆ GetBioIdType()

CPSG_BioId::TType SRequestBuilder::GetBioIdType ( const string type)
staticprivate

◆ GetDataFlags()

const initializer_list< SDataFlag > & SRequestBuilder::GetDataFlags ( )
static

Definition at line 1647 of file processing.cpp.

References kDataFlags.

Referenced by s_InitDataFlags().

◆ GetInfoFlags()

const initializer_list< SInfoFlag > & SRequestBuilder::GetInfoFlags ( )
static

Definition at line 1669 of file processing.cpp.

References kInfoFlags.

Referenced by CPsgClientApp::s_InitRequest().

◆ GetResolveParams()

template<class TInput >
SResolveParams SRequestBuilder::GetResolveParams ( const TInput &  input)
static

Definition at line 495 of file processing.hpp.

References input().

Referenced by NParamsBuilder::SBatchResolve::SBatchResolve().


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