NCBI C++ ToolKit
Classes | Macros
ncbiapp.hpp File Reference

Defines the CNcbiApplication and CAppException classes for creating NCBI applications. More...

#include <corelib/ncbiapp_api.hpp>
#include <corelib/version.hpp>
+ Include dependency graph for ncbiapp.hpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CNcbiApplication
 

Macros

#define NcbiSys_main   main
 
#define NCBI_APP_SET_VERSION(major, minor, patch)    SetVersion( CVersionInfo(major,minor,patch, NCBI_TEAMCITY_PROJECT_NAME_PROXY), NCBI_APP_SBUILDINFO_DEFAULT())
 
#define NCBI_APP_SET_VERSION_AUTO(major, minor)   NCBI_APP_SET_VERSION(major, minor, NCBI_TEAMCITY_BUILD_NUMBER_PROXY)
 

Detailed Description

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

The CNcbiApplication class defines the application framework and the high high level behavior of an application, and the CAppException class is used for the exceptions generated by CNcbiApplication.

The CNcbiApplicationAPI class defines the application framework and the high high level behavior of an application, and the CAppException class is used for the exceptions generated by CNcbiApplicationAPI.

Definition in file ncbiapp.hpp.

Macro Definition Documentation

◆ NCBI_APP_SET_VERSION

#define NCBI_APP_SET_VERSION (   major,
  minor,
  patch 
)     SetVersion( CVersionInfo(major,minor,patch, NCBI_TEAMCITY_PROJECT_NAME_PROXY), NCBI_APP_SBUILDINFO_DEFAULT())

Definition at line 60 of file ncbiapp.hpp.

◆ NCBI_APP_SET_VERSION_AUTO

#define NCBI_APP_SET_VERSION_AUTO (   major,
  minor 
)    NCBI_APP_SET_VERSION(major, minor, NCBI_TEAMCITY_BUILD_NUMBER_PROXY)

Definition at line 67 of file ncbiapp.hpp.

◆ NcbiSys_main

#define NcbiSys_main   main

Definition at line 48 of file ncbiapp.hpp.

Modified on Fri Sep 20 14:57:28 2024 by modify_doxy.py rev. 669887