#include <ncbiapp.hpp>
Inheritance diagram for CNcbiApplication:


Basic (abstract) NCBI application class.
Defines the high level behavior of an NCBI application. A new application is written by deriving a class from the CNcbiApplication and writing an implementation of the Run() and maybe some other (like Init(), Exit(), etc.) methods.
Definition at line 115 of file ncbiapp.hpp.
Public Member Functions | |
| CNcbiApplication (void) | |
| Constructor. | |
| virtual | ~CNcbiApplication (void) |
| Destructor. | |
| int | AppMain (int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString) |
| Main function (entry point) for the NCBI application. | |
| virtual void | Init (void) |
| Initialize the application. | |
| virtual int | Run (void)=0 |
| Run the application. | |
| virtual int | DryRun (void) |
| Test run the application. | |
| virtual void | Exit (void) |
| Cleanup on application exit. | |
| const CNcbiArguments & | GetArguments (void) const |
| Get the application's cached unprocessed command-line arguments. | |
| virtual const CArgs & | GetArgs (void) const |
| Get parsed command line arguments. | |
| const CNcbiEnvironment & | GetEnvironment (void) const |
| Get the application's cached environment. | |
| CNcbiEnvironment & | SetEnvironment (void) |
| Get a non-const copy of the application's cached environment. | |
| void | SetEnvironment (const string &name, const string &value) |
| Set a specified environment variable by name. | |
| bool | HasLoadedConfig (void) const |
| Check if the config file has been loaded. | |
| const CNcbiRegistry & | GetConfig (void) const |
| Get the application's cached configuration parameters. | |
| CNcbiRegistry & | GetConfig (void) |
| const string & | GetConfigPath (void) const |
| Get the full path to the configuration file (if any) we ended up using. | |
| bool | ReloadConfig (CMetaRegistry::TFlags flags=CMetaRegistry::fReloadIfChanged, IRegistry::TFlags reg_flags=IRegistry::fWithNcbirc) |
| Reload the configuration file. | |
| SIZE_TYPE | FlushDiag (CNcbiOstream *os, bool close_diag=false) |
| Flush the in-memory diagnostic stream (for "eDS_ToMemory" case only). | |
| const string & | GetProgramDisplayName (void) const |
| Get the application's "display" name. | |
| const string & | GetProgramExecutablePath (EFollowLinks follow_links=eIgnoreLinks) const |
| Get the application's executable path. | |
| CVersionInfo | GetVersion (void) const |
| Get the program version information. | |
| const CVersion & | GetFullVersion (void) const |
| Get the program version information. | |
| bool | IsDryRun (void) const |
| Check if it is a test run. | |
| virtual NCBI_DEPRECATED bool | SetupDiag_AppSpecific (void) |
| Setup application specific diagnostic stream. | |
Static Public Member Functions | |
| static CNcbiApplication * | Instance (void) |
| Singleton method. | |
Protected Types | |
| typedef int | TDisableArgDesc |
| Binary OR of "EDisableArgDesc". | |
| typedef int | THideStdArgs |
| Binary OR of "EHideStdArgs". | |
| typedef int | TStdioSetupFlags |
| Binary OR of "EStdioSetup". | |
| enum | EPreparseArgs { ePreparse_Continue, ePreparse_Exit } |
| Result of PreparseArgs(). More... | |
| enum | EDisableArgDesc { fDisableStdArgs = 0x01 } |
| Disable argument descriptions. More... | |
| enum | EHideStdArgs { fHideLogfile = 0x01, fHideConffile = 0x02, fHideVersion = 0x04, fHideFullVersion = 0x08, fHideDryRun = 0x10, fHideHelp = 0x20, fHideFullHelp = 0x40, fHideXmlHelp = 0x80, fHideAll = 0xFF } |
| Which standard flag's descriptions should not be displayed in the usage message. More... | |
| enum | EStdioSetup { fDefault_SyncWithStdio = 0x01, fDefault_CinBufferSize = 0x02, fBinaryCin = 0x04, fBinaryCout = 0x08 } |
| Flags to adjust standard I/O streams' behaviour. More... | |
| enum | EExitMode { eNoExits, eExceptionalExits, eAllExits } |
| When to return a user-set exit code. More... | |
Protected Member Functions | |
| virtual EPreparseArgs | PreparseArgs (int argc, const char *const *argv) |
| Check the command line arguments before parsing them. | |
| void | DisableArgDescriptions (TDisableArgDesc disable=fDisableStdArgs) |
| void | HideStdArgs (THideStdArgs hide_mask) |
| Set the hide mask for the Hide Std Flags. | |
| void | SetStdioFlags (TStdioSetupFlags stdio_flags) |
| Adjust the behavior of standard I/O streams. | |
| void | SetVersion (const CVersionInfo &version) |
| Set the version number for the program. | |
| void | SetFullVersion (CRef< CVersion > version) |
| Set version data for the program. | |
| virtual void | SetupArgDescriptions (CArgDescriptions *arg_desc) |
| Setup the command line argument descriptions. | |
| const CArgDescriptions * | GetArgDescriptions (void) const |
| Get argument descriptions (set by SetupArgDescriptions). | |
| NCBI_DEPRECATED bool | SetupDiag (EAppDiagStream diag) |
| Setup the application diagnostic stream. | |
| virtual bool | LoadConfig (CNcbiRegistry ®, const string *conf, CNcbiRegistry::TFlags reg_flags) |
| Load settings from the configuration file to the registry. | |
| virtual bool | LoadConfig (CNcbiRegistry ®, const string *conf) |
| Load settings from the configuration file to the registry. | |
| void | SetProgramDisplayName (const string &app_name) |
| Set program's display name. | |
| string | FindProgramExecutablePath (int argc, const char *const *argv, string *real_path=0) |
| Find the application's executable file. | |
| virtual void | AppStart (void) |
| Method to be called before application start. | |
| virtual void | AppStop (int exit_code) |
| Method to be called before application exit. | |
| void | SetExitCode (int exit_code, EExitMode when=eExceptionalExits) |
| Force the program to return a specific exit code later, either when it exits due to an exception or unconditionally. | |
Private Member Functions | |
| void | x_HonorStandardSettings (IRegistry *reg=0) |
| Read standard NCBI application configuration settings. | |
| void | x_SetupStdio (void) |
| Setup C++ standard I/O streams' behaviour. | |
| void | x_AddDefaultArgs (void) |
| void | x_TryInit (EAppDiagStream diag, const char *conf) |
| void | x_TryMain (EAppDiagStream diag, const char *conf, int *exit_code, bool *got_exception) |
Private Attributes | |
| CRef< CVersion > | m_Version |
| Program version. | |
| auto_ptr< CNcbiEnvironment > | m_Environ |
| Cached application env. | |
| CRef< CNcbiRegistry > | m_Config |
| Guaranteed to be non-NULL. | |
| auto_ptr< CNcbiOstream > | m_DiagStream |
| Opt., aux., see eDS_ToMemory. | |
| auto_ptr< CNcbiArguments > | m_Arguments |
| Command-line arguments. | |
| auto_ptr< CArgDescriptions > | m_ArgDesc |
| Cmd.-line arg descriptions. | |
| auto_ptr< CArgs > | m_Args |
| Parsed cmd.-line args. | |
| TDisableArgDesc | m_DisableArgDesc |
| Arg desc. disabled. | |
| THideStdArgs | m_HideArgs |
| Std cmd.-line flags to hide. | |
| TStdioSetupFlags | m_StdioFlags |
| Std C++ I/O adjustments. | |
| char * | m_CinBuffer |
| Cin buffer if changed. | |
| string | m_ProgramDisplayName |
| Display name of app. | |
| string | m_ExePath |
| Program executable path. | |
| string | m_RealExePath |
| Symlink-free executable path. | |
| string | m_LogFileName |
| Log file name. | |
| string | m_ConfigPath |
| Path to .ini file used. | |
| int | m_ExitCode |
| Exit code to force. | |
| EExitMode | m_ExitCodeCond |
| When to force it (if ever). | |
| bool | m_DryRun |
| Dry run. | |
| string | m_DefaultConfig |
| conf parameter to AppMain | |
Static Private Attributes | |
| static CNcbiApplication * | m_Instance |
| Current app. instance. | |
|
|
Binary OR of "EDisableArgDesc".
Definition at line 319 of file ncbiapp.hpp. |
|
|
Binary OR of "EHideStdArgs".
Definition at line 340 of file ncbiapp.hpp. |
|
|
Binary OR of "EStdioSetup".
Definition at line 356 of file ncbiapp.hpp. |
|
|
Disable argument descriptions. Call with a bit flag set if you do not want std AND user cmd.line args to be parsed. Note that by default the parsing of cmd.line args are enabled. Definition at line 316 of file ncbiapp.hpp. |
|
|
When to return a user-set exit code.
Definition at line 480 of file ncbiapp.hpp. |
|
|
Which standard flag's descriptions should not be displayed in the usage message. Do not display descriptions of the standard flags such as the -h, -logfile, -conffile, -version flags in the usage message. Note that you still can pass them in the command line.
Definition at line 329 of file ncbiapp.hpp. |
|
|
Result of PreparseArgs().
Definition at line 301 of file ncbiapp.hpp. |
|
|
Flags to adjust standard I/O streams' behaviour.
Definition at line 346 of file ncbiapp.hpp. |
|
|
Constructor. Register the application instance, and reset important application-specific settings to empty values that will be set later. Definition at line 92 of file ncbiapp.cpp. References eDiagAppState_AppBegin, eNoExits, GetDiagContext(), CDiagContext::GetUID(), CDiagContext::InitMessages(), m_Arguments, m_CinBuffer, m_Config, m_DisableArgDesc, m_DryRun, m_Environ, m_ExitCodeCond, m_HideArgs, m_Instance, m_StdioFlags, m_Version, NCBI_THROW, auto_ptr< X >::reset(), CRef< C, Locker >::Reset(), and CDiagContext::SetGlobalAppState(). |
|
|
Destructor. Clean up the application settings, flush the diagnostic stream. Definition at line 128 of file ncbiapp.cpp. References FlushDiag(), m_CinBuffer, m_Instance, and NcbiCout. |
|
||||||||||||||||||||||||||||
|
Main function (entry point) for the NCBI application. You can specify where to write the diagnostics to (EAppDiagStream), and where to get the configuration file (LoadConfig()) to load to the application registry (accessible via GetConfig()). Throw exception if:
If application name is not specified a default of "ncbi" is used. Certain flags such as -logfile, -conffile and -version are special so AppMain() processes them separately.
Definition at line 410 of file ncbiapp.cpp. References CDirEntry::SplitPath(). Referenced by main(). |
|
|
Method to be called before application start. Can be used to set DiagContext properties to be printed in the application start message (e.g. host|host_ip_addr, client_ip and session_id for CGI applications). Reimplemented in CCgiApplication. Definition at line 1133 of file ncbiapp.cpp. References auto_ptr< X >::get(), GetProgramExecutablePath(), and m_Arguments. Referenced by x_TryInit(). |
|
|
Method to be called before application exit. Can be used to set DiagContext properties to be printed in the application stop message (exit_status, exit_signal, exit_code). Reimplemented in CCgiApplication. Definition at line 1153 of file ncbiapp.cpp. References GetDiagContext(), and CDiagContext::SetExitCode(). |
|
|
Definition at line 783 of file ncbiapp.cpp. References m_DisableArgDesc. Referenced by CCgiApplication::CCgiApplication(), CCpGDemoApp::CCpGDemoApp(), CEntrez2ClientApp::CEntrez2ClientApp(), CGeneModelDemoApp::CGeneModelDemoApp(), CRegexpLocApp::CRegexpLocApp(), CRemoteCgiApp::CRemoteCgiApp(), and CNcbiTestApplication::Init(). |
|
|
Test run the application. It is only supposed to test if the Run() is possible, or makes sense: that is, test all preconditions etc.
Reimplemented in CNcbiTestApplication. Definition at line 157 of file ncbiapp.cpp. References ERR_POST_X. |
|
|
||||||||||||||||
|
Find the application's executable file. Find the path and name of the executable file that this application is running from. Will be accessible by GetArguments().GetProgramName().
|
|
||||||||||||
|
Flush the in-memory diagnostic stream (for "eDS_ToMemory" case only). In case of "eDS_ToMemory", the diagnostics is stored in the internal application memory buffer ("m_DiagStream"). Call this function to dump all the diagnostics to stream "os" and purge the buffer.
Definition at line 180 of file ncbiapp.cpp. References CDiagContext::DiscardMessages(), CDiagContext::FlushMessages(), GetDiagContext(), GetDiagHandler(), and SetDiagStream(). Referenced by ~CNcbiApplication(). |
|
|
Get argument descriptions (set by SetupArgDescriptions).
Definition at line 639 of file ncbiapp.hpp. References auto_ptr< X >::get(), and m_ArgDesc. Referenced by CCgiApplication::GetArgs(), and CMakeScoreMethodApp::Run(). |
|
|
|
|
Definition at line 605 of file ncbiapp.hpp. References m_Config. |
|
|
|
Get the full path to the configuration file (if any) we ended up using.
Definition at line 610 of file ncbiapp.hpp. References m_ConfigPath. Referenced by CProjBulderApp::GetSite(), ReloadConfig(), CCgiSessionSampleApplication::x_ShowConfigFile(), and CGBenchApplication::x_TestGuiRegistry(). |
|
|
Get the application's cached environment.
Definition at line 590 of file ncbiapp.hpp. References m_Environ. Referenced by CSystemPath::AddToPath(), CMsvcConfigure::AnalyzeDefines(), BlastFindMatrixPath(), CCgiUserAgent::CCgiUserAgent(), FindBlastDbPath(), CSampleLibraryObject::FindInPath(), CProjBulderApp::GenerateMsvcProjects(), CArgDescDefault::GetDefaultValue(), CDefaultWorkerNodeInitContext::GetEnvironment(), CSystemPath::GetStdPath(), CSeqTestApplication::Init(), CQueryParseTree::Parse(), ASNIOTestApp::Run(), CCgiApplication::Run(), CGBenchPipe::x_GetPipeName(), and CGBenchApplication::x_SyncRegistryAndEnvironment(). |
|
|
Get the program version information.
Definition at line 656 of file ncbiapp.cpp. References m_Version. Referenced by CCgiApplication::PreparseArgs(). |
|
|
Get the application's "display" name. Get name of this application, suitable for displaying or for using as the base name for other files. Will be the 'name' argument of AppMain if given. Otherwise will be taken from the actual name of the application file or argv[0]. Definition at line 627 of file ncbiapp.hpp. References m_ProgramDisplayName. Referenced by CCgiRequest::CalcChecksum(), CWindowsCmdErrorHandler::CWindowsCmdErrorHandler(), CRemoteCgiApp::GetJobVersion(), CCgiApplication::PreparseArgs(), CCgiTunnel2Grid::ProcessRequest(), impl::s_TransformLoginData(), CMultiReaderApp::SetFormat(), CNCBIwxApplication::x_Init_wxApplication(), CNCBIwxApplication::x_SetupArgDescriptions(), CGBenchApplication::x_SetupArgDescriptions(), and x_SetupUserAgent(). |
|
|
Get the application's executable path. The path to executable file of this application. Return empty string if not possible to determine this path. Definition at line 633 of file ncbiapp.hpp. References eFollowLinks, m_ExePath, and m_RealExePath. Referenced by AppStart(), createAnnot(), GetDefaultLogLocation(), CCgiApplication::GetDefaultLogPath(), CGetStatisticsProcessor::Process(), COMSSA::Run(), CDiagContext::SetupDiag(), CDllResolver::x_AddExtraDllPath(), and CGBenchMonitorApp::x_GetFeedbackAgentPath(). |
|
|
Get the program version information.
Definition at line 651 of file ncbiapp.cpp. References m_Version. Referenced by CFileModules::GetRefInfo(), and CSampleSoapServerApplication::Init(). |
|
|
Check if the config file has been loaded.
Definition at line 615 of file ncbiapp.hpp. References m_ConfigPath. Referenced by g_GetConfigFlag(), g_GetConfigInt(), g_GetConfigString(), CParam< TDescription >::sx_GetDefault(), and CGBenchApplication::x_TestGuiRegistry(). |
|
|
|
|
|
Check if it is a test run.
Definition at line 645 of file ncbiapp.hpp. References m_DryRun. |
|
||||||||||||
|
Load settings from the configuration file to the registry. CNcbiApplication::LoadConfig(reg, conf) just calls LoadConfig(reg, conf, IRegistry::fWithNcbirc). Definition at line 768 of file ncbiapp.cpp. References IRegistry::fWithNcbirc, and LoadConfig(). |
|
||||||||||||||||
|
Load settings from the configuration file to the registry. This method is called from inside AppMain() to load (add) registry settings from the configuration file specified as the "conf" arg passed to AppMain(). The "conf" argument has the following special meanings:
NOTE: If "conf" arg is empty or non-empty, but without path, then the Toolkit will try to look for it in several potentially relevant directories, as described in <corelib/metareg.hpp>. Throw an exception if "conf" is non-empty, and cannot open file. Throw an exception if file exists, but contains invalid entries.
Reimplemented in CGBenchApplication, and CGBenchFeedbackAgentApp. Definition at line 713 of file ncbiapp.cpp. References eFollowLinks, eIgnoreLinks, CMetaRegistry::eName_Ini, CMetaRegistry::Load(), m_Arguments, and m_DefaultConfig. Referenced by LoadConfig(), and x_TryInit(). |
|
||||||||||||
|
Check the command line arguments before parsing them.
Reimplemented in CCgiApplication. Definition at line 776 of file ncbiapp.cpp. References ePreparse_Continue. |
|
||||||||||||
|
Reload the configuration file. By default, does nothing if the file has the same size and date as before. Note that this may lose other data stored in the registry!
Definition at line 620 of file ncbiapp.hpp. References GetConfig(), GetConfigPath(), and CMetaRegistry::Reload(). Referenced by BOOST_AUTO_TEST_CASE(), and CNetScheduleHandler::ProcessReloadConfig(). |
|
|
||||||||||||
|
Set a specified environment variable by name.
Definition at line 626 of file ncbiapp.cpp. References CNcbiEnvironment::Set(), and SetEnvironment(). |
|
|
Get a non-const copy of the application's cached environment.
Definition at line 595 of file ncbiapp.hpp. References m_Environ. Referenced by CAutoEnvironmentVariable::CAutoEnvironmentVariable(), SetEnvironment(), CNcbiRegistry::x_Init(), CAlnMultiCGIApplication::x_PreProcess(), and CGBenchApplication::x_SyncRegistryAndEnvironment(). |
|
||||||||||||
|
Force the program to return a specific exit code later, either when it exits due to an exception or unconditionally. In the latter case, Run's return value will be ignored. Definition at line 1159 of file ncbiapp.cpp. References m_ExitCode, and m_ExitCodeCond. |
|
|
|
Set program's display name. Set up application name suitable for display or as a basename for other files. It can also be set by the user when calling AppMain(). Definition at line 898 of file ncbiapp.cpp. References GetDiagContext(), m_ProgramDisplayName, and CDiagContext::SetAppName(). |
|
|
Adjust the behavior of standard I/O streams. Unless this function is called, the behaviour of "C++" Cin/Cout/Cerr streams will be the same regardless of the compiler used. IMPLEMENTATION NOTE: Do not call this function more than once and from places other than App's constructor. Definition at line 795 of file ncbiapp.cpp. References _ASSERT, and m_StdioFlags. Referenced by CCgiApplication::CCgiApplication(). |
|
|
|
Setup the application diagnostic stream.
Definition at line 699 of file ncbiapp.cpp. References eDCM_Flush, and CDiagContext::SetupDiag(). |
|
|
Setup application specific diagnostic stream. Called from SetupDiag when it is passed the eDS_AppSpecific parameter. Currently, this calls SetupDiag(eDS_ToStderr) to setup diagonistic stream to the std error channel.
Definition at line 706 of file ncbiapp.cpp. References eDCM_Flush, eDS_ToStderr, and CDiagContext::SetupDiag(). Referenced by CDiagContext::SetupDiag(). |
|
|
|
Definition at line 843 of file ncbiapp.cpp. References fHideHelp, m_ArgDesc, m_DisableArgDesc, and m_HideArgs. Referenced by x_TryMain(). |
|
|
Read standard NCBI application configuration settings. [NCBI]: HeapSizeLimit, CpuTimeLimit [DEBUG]: ABORT_ON_THROW, DIAG_POST_LEVEL, MessageFile
Definition at line 1031 of file ncbiapp.cpp. References DIAG_TRACE, eDT_Enable, IRegistry::Get(), GetDiagHandler(), CRef< C, Locker >::GetPointer(), CSysLog::HonorRegistrySettings(), m_Config, CObject::SetAllocFillMode(), and SetDiagTrace(). Referenced by x_TryInit(). |
|
|
Setup C++ standard I/O streams' behaviour. Called from AppMain() to do compiler-specific optimization for C++ I/O streams. For example, since SUN WorkShop STL stream library has significant performance loss when sync_with_stdio is TRUE (default), so we turn it off. Another, for GCC version greater than 3.00 we forcibly set cin stream buffer size to 4096 bytes -- which boosts the performance dramatically. Definition at line 804 of file ncbiapp.cpp. References _ASSERT, endif, fBinaryCin, fBinaryCout, fDefault_CinBufferSize, fDefault_SyncWithStdio, m_CinBuffer, m_StdioFlags, and NCBI_OS_UNIX. |
|
||||||||||||
|
Definition at line 268 of file ncbiapp.cpp. References AppStart(), eDCM_Flush, auto_ptr< X >::get(), GetArguments(), Init(), LoadConfig(), m_ArgDesc, m_Config, m_DisableArgDesc, SetupArgDescriptions(), CDiagContext::SetupDiag(), CDiagContext::x_FinalizeSetupDiag(), and x_HonorStandardSettings(). Referenced by x_TryMain(). |
|
||||||||||||||||||||
|
Definition at line 316 of file ncbiapp.cpp. References CArgHelpException::eHelpFull, CArgHelpException::eHelpXml, ERR_POST_X, CCoreException::GetErrCode(), m_ArgDesc, NCBI_REPORT_EXCEPTION_X, NCBI_RETHROW_SAME, s_HandleExceptions(), x_AddDefaultArgs(), and x_TryInit(). |
|
|
Cmd.-line arg descriptions.
Definition at line 525 of file ncbiapp.hpp. Referenced by GetArgDescriptions(), SetupArgDescriptions(), x_AddDefaultArgs(), x_TryInit(), and x_TryMain(). |
|
|
Parsed cmd.-line args.
Definition at line 526 of file ncbiapp.hpp. Referenced by GetArgs(), and CGBenchApplication::x_HandleArgs(). |
|
|
Command-line arguments.
Definition at line 524 of file ncbiapp.hpp. Referenced by AppStart(), CNcbiApplication(), GetArguments(), and LoadConfig(). |
|
|
Cin buffer if changed.
Definition at line 530 of file ncbiapp.hpp. Referenced by CNcbiApplication(), x_SetupStdio(), and ~CNcbiApplication(). |
|
|
Guaranteed to be non-NULL.
Definition at line 522 of file ncbiapp.hpp. Referenced by CNcbiApplication(), GetConfig(), x_HonorStandardSettings(), and x_TryInit(). |
|
|
Path to .ini file used.
Definition at line 535 of file ncbiapp.hpp. Referenced by GetConfigPath(), and HasLoadedConfig(). |
|
|
conf parameter to AppMain
Definition at line 539 of file ncbiapp.hpp. Referenced by LoadConfig(), and SetupArgDescriptions(). |
|
|
Opt., aux., see eDS_ToMemory.
Definition at line 523 of file ncbiapp.hpp. |
|
|
Arg desc. disabled.
Definition at line 527 of file ncbiapp.hpp. Referenced by CNcbiApplication(), DisableArgDescriptions(), SetupArgDescriptions(), x_AddDefaultArgs(), and x_TryInit(). |
|
|
Dry run.
Definition at line 538 of file ncbiapp.hpp. Referenced by CNcbiApplication(), and IsDryRun(). |
|
|
Cached application env.
Definition at line 521 of file ncbiapp.hpp. Referenced by CNcbiApplication(), GetEnvironment(), and SetEnvironment(). |
|
|
Program executable path.
Definition at line 532 of file ncbiapp.hpp. Referenced by GetProgramExecutablePath(). |
|
|
Exit code to force.
Reimplemented in CProjBulderApp. Definition at line 536 of file ncbiapp.hpp. Referenced by SetExitCode(). |
|
|
When to force it (if ever).
Definition at line 537 of file ncbiapp.hpp. Referenced by CNcbiApplication(), and SetExitCode(). |
|
|
Std cmd.-line flags to hide.
Definition at line 528 of file ncbiapp.hpp. Referenced by CNcbiApplication(), HideStdArgs(), SetupArgDescriptions(), and x_AddDefaultArgs(). |
|
|
Current app. instance.
Definition at line 519 of file ncbiapp.hpp. Referenced by CNcbiApplication(), Instance(), and ~CNcbiApplication(). |
|
|
Log file name.
Definition at line 534 of file ncbiapp.hpp. |
|
|
Display name of app.
Definition at line 531 of file ncbiapp.hpp. Referenced by GetProgramDisplayName(), and SetProgramDisplayName(). |
|
|
Symlink-free executable path.
Definition at line 533 of file ncbiapp.hpp. Referenced by GetProgramExecutablePath(). |
|
|
Std C++ I/O adjustments.
Definition at line 529 of file ncbiapp.hpp. Referenced by CNcbiApplication(), SetStdioFlags(), and x_SetupStdio(). |
|
|
Program version.
Definition at line 520 of file ncbiapp.hpp. Referenced by CNcbiApplication(), GetFullVersion(), GetVersion(), SetFullVersion(), and SetVersion(). |
1.4.6
Modified on Mon Dec 07 16:23:32 2009 by modify_doxy.py rev. 173732