NCBI C++ ToolKit
Classes | Macros | Functions | Variables
cidtool.cpp File Reference
#include <ncbi_pch.hpp>
#include "cidtool.hpp"
#include <connect/services/clparser.hpp>
#include <connect/services/grid_app_version_info.hpp>
#include <corelib/ncbistre.hpp>
#include <corelib/ncbi_config.hpp>
+ Include dependency graph for cidtool.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SOptionDefinition
 
struct  SCommandDefinition
 

Macros

#define OPT_DEF(opt_type, opt_id)   CCommandLineParser::opt_type, opt_id
 
#define TOTAL_NUMBER_OF_COMMANDS
 

Functions

int main (int argc, const char *argv[])
 

Variables

 USING_NCBI_SCOPE
 
struct SOptionDefinition s_OptionDefinitions [eNumberOfOptions]
 
struct SCommandDefinition s_CommandDefinitions []
 

Macro Definition Documentation

◆ OPT_DEF

#define OPT_DEF (   opt_type,
  opt_id 
)    CCommandLineParser::opt_type, opt_id

Definition at line 53 of file cidtool.cpp.

◆ TOTAL_NUMBER_OF_COMMANDS

#define TOTAL_NUMBER_OF_COMMANDS
Value:
struct SCommandDefinition s_CommandDefinitions[]
unsigned int
A callback function used to compare two keys in a database.
Definition: types.hpp:1210

Definition at line 99 of file cidtool.cpp.

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 254 of file cidtool.cpp.

References CNcbiApplicationAPI::AppMain().

Variable Documentation

◆ s_CommandDefinitions

struct SCommandDefinition s_CommandDefinitions[]
Initial value:
= {
"dump", "Dump the contents of a CompoundID.",
"Print the contents of the CompoundID specified on the "
"command line to the standard output stream (or a file).",
{eCID, eOutputFile, -1}},
"make", "Generate a CompoundID.",
"Read CompoundID dump from the standard input stream "
"(or the specified file) and print the CompoundID that "
"corresponds it.",
{eInputFile, -1}},
}
@ eCID
Definition: cidtool.hpp:49
@ eInputFile
Definition: grid_cli.hpp:164
@ eOutputFile
Definition: grid_cli.hpp:169

Referenced by CComponentIDToolApp::Run().

◆ s_OptionDefinitions

struct SOptionDefinition s_OptionDefinitions[eNumberOfOptions]
Initial value:
= {
"input-file" , "Read input from the specified file.", {-1}},
"o|" "output-file" , "Save output to the specified file.", {-1}},
}
#define NULL
Definition: ncbistd.hpp:225

Referenced by CComponentIDToolApp::Run().

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 44 of file cidtool.cpp.

Modified on Wed Sep 04 14:59:05 2024 by modify_doxy.py rev. 669887