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

Search Toolkit Book for SCommand

Public Types

enum  EFlags { eDefault , fHidden = 1 << 0 , fParallel = 1 << 1 }
 
using TInit = function< void(CArgDescriptions &)>
 
using TRun = function< int(CPsgClientApp *, const CArgs &)>
 

Public Member Functions

 SCommand (string n, string d, TInit i, TRun r, EFlags f)
 

Public Attributes

const string name
 
const string desc
 
TInit init
 
TRun run
 
EFlags flags
 

Detailed Description

Definition at line 46 of file psg_client_app.cpp.

Member Typedef Documentation

◆ TInit

using SCommand::TInit = function<void(CArgDescriptions&)>

Definition at line 48 of file psg_client_app.cpp.

◆ TRun

using SCommand::TRun = function<int(CPsgClientApp*, const CArgs&)>

Definition at line 49 of file psg_client_app.cpp.

Member Enumeration Documentation

◆ EFlags

Enumerator
eDefault 
fHidden 
fParallel 

Definition at line 50 of file psg_client_app.cpp.

Constructor & Destructor Documentation

◆ SCommand()

SCommand::SCommand ( string  n,
string  d,
TInit  i,
TRun  r,
EFlags  f 
)
inline

Definition at line 58 of file psg_client_app.cpp.

Member Data Documentation

◆ desc

const string SCommand::desc

Definition at line 53 of file psg_client_app.cpp.

◆ flags

EFlags SCommand::flags

Definition at line 56 of file psg_client_app.cpp.

◆ init

TInit SCommand::init

Definition at line 54 of file psg_client_app.cpp.

◆ name

const string SCommand::name

Definition at line 52 of file psg_client_app.cpp.

◆ run

TRun SCommand::run

Definition at line 55 of file psg_client_app.cpp.


The documentation for this struct was generated from the following file:
Modified on Wed Feb 21 09:54:55 2024 by modify_doxy.py rev. 669887