NCBI C++ ToolKit
Classes | Macros | Enumerations
ptb_err_codes.hpp File Reference
#include <corelib/ncbistd.hpp>
+ Include dependency graph for ptb_err_codes.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  MDiagFile
 MDiagFile –. More...
 

Macros

#define PTB_ERROR(file, msg)    ERR_POST(Error << MDiagFile(file) << ": " << msg)
 
#define PTB_ERROR_EX(file, err_code, msg)    ERR_POST(Error << MDiagFile(file) << ErrCode(err_code) << msg)
 
#define PTB_WARNING(file, msg)    ERR_POST(Warning << MDiagFile(file) << ": " << msg)
 
#define PTB_WARNING_EX(file, err_code, msg)    ERR_POST(Warning << MDiagFile(file) << ErrCode(err_code) << msg)
 
#define PTB_INFO(msg)    ERR_POST(Info << MDiagFile(kEmptyStr) << ErrCode(ePTB_NoError) << msg)
 
#define PTB_INFO_EX(file, err_code, msg)    ERR_POST(Info << MDiagFile(file) << ErrCode(err_code) << msg)
 
#define PTB_TRACE(msg)    _TRACE(Trace << ErrCode(ePTB_NoError) << msg)
 
#define PTB_TRACE_EX(file, err_code, msg)    _TRACE(Trace << MDiagFile(file) << ErrCode(err_code) << msg)
 

Enumerations

enum  EProjectTreeBuilderErrCode {
  ePTB_NoError = -1 , ePTB_Unknown = 0 , ePTB_ConfigurationError , ePTB_FileExcluded ,
  ePTB_FileModified , ePTB_FileNotFound , ePTB_InvalidMakefile , ePTB_MacroInvalid ,
  ePTB_MacroUndefined , ePTB_MissingDependency , ePTB_MissingMakefile , ePTB_PathNotFound ,
  ePTB_ProjectExcluded , ePTB_ProjectNotFound
}
 

Macro Definition Documentation

◆ PTB_ERROR

#define PTB_ERROR (   file,
  msg 
)     ERR_POST(Error << MDiagFile(file) << ": " << msg)

Definition at line 91 of file ptb_err_codes.hpp.

◆ PTB_ERROR_EX

#define PTB_ERROR_EX (   file,
  err_code,
  msg 
)     ERR_POST(Error << MDiagFile(file) << ErrCode(err_code) << msg)

Definition at line 94 of file ptb_err_codes.hpp.

◆ PTB_INFO

#define PTB_INFO (   msg)     ERR_POST(Info << MDiagFile(kEmptyStr) << ErrCode(ePTB_NoError) << msg)

Definition at line 103 of file ptb_err_codes.hpp.

◆ PTB_INFO_EX

#define PTB_INFO_EX (   file,
  err_code,
  msg 
)     ERR_POST(Info << MDiagFile(file) << ErrCode(err_code) << msg)

Definition at line 106 of file ptb_err_codes.hpp.

◆ PTB_TRACE

#define PTB_TRACE (   msg)     _TRACE(Trace << ErrCode(ePTB_NoError) << msg)

Definition at line 109 of file ptb_err_codes.hpp.

◆ PTB_TRACE_EX

#define PTB_TRACE_EX (   file,
  err_code,
  msg 
)     _TRACE(Trace << MDiagFile(file) << ErrCode(err_code) << msg)

Definition at line 112 of file ptb_err_codes.hpp.

◆ PTB_WARNING

#define PTB_WARNING (   file,
  msg 
)     ERR_POST(Warning << MDiagFile(file) << ": " << msg)

Definition at line 97 of file ptb_err_codes.hpp.

◆ PTB_WARNING_EX

#define PTB_WARNING_EX (   file,
  err_code,
  msg 
)     ERR_POST(Warning << MDiagFile(file) << ErrCode(err_code) << msg)

Definition at line 100 of file ptb_err_codes.hpp.

Enumeration Type Documentation

◆ EProjectTreeBuilderErrCode

Enumerator
ePTB_NoError 
ePTB_Unknown 
ePTB_ConfigurationError 
ePTB_FileExcluded 
ePTB_FileModified 
ePTB_FileNotFound 
ePTB_InvalidMakefile 
ePTB_MacroInvalid 
ePTB_MacroUndefined 
ePTB_MissingDependency 
ePTB_MissingMakefile 
ePTB_PathNotFound 
ePTB_ProjectExcluded 
ePTB_ProjectNotFound 

Definition at line 40 of file ptb_err_codes.hpp.

Modified on Fri Sep 20 14:58:30 2024 by modify_doxy.py rev. 669887