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.


struct  SOptionDefinition
struct  SCommandDefinition


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


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


struct SOptionDefinition s_OptionDefinitions [eNumberOfOptions]
struct SCommandDefinition s_CommandDefinitions []

Macro Definition Documentation


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

Definition at line 53 of file cidtool.cpp.


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().



Definition at line 44 of file cidtool.cpp.

Modified on Wed Feb 21 09:54:18 2024 by rev. 669887