NCBI C++ ToolKit
Functions | Variables
aln_errors.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistr.hpp>
#include <objtools/readers/reader_error_codes.hpp>
#include <objtools/readers/message_listener.hpp>
#include "aln_errors.hpp"
+ Include dependency graph for aln_errors.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 ADD_ENUM_VALUE ("Mods", eReader_Mods)
 
 ADD_ENUM_VALUE ("Alignment", eReader_Alignment)
 
 ADD_ENUM_VALUE ("BadDataChars", eAlnSubcode_BadDataChars)
 
 ADD_ENUM_VALUE ("UnterminatedCommand", eAlnSubcode_UnterminatedCommand)
 
 ADD_ENUM_VALUE ("UnterminatedBlock", eAlnSubcode_UnterminatedBlock)
 
 ADD_ENUM_VALUE ("UnexpectedSeqId", eAlnSubcode_UnexpectedSeqId)
 
 ADD_ENUM_VALUE ("BadDataCount", eAlnSubcode_BadDataCount)
 
 ADD_ENUM_VALUE ("BadSequenceCount", eAlnSubcode_BadSequenceCount)
 
 ADD_ENUM_VALUE ("IllegalDataLine", eAlnSubcode_IllegalDataLine)
 
 ADD_ENUM_VALUE ("MissingDataLine", eAlnSubcode_MissingDataLine)
 
 ADD_ENUM_VALUE ("IllegalSequenceId", eAlnSubcode_IllegalSequenceId)
 
 ADD_ENUM_VALUE ("IllegalDefinitionLine", eAlnSubcode_IllegalDefinitionLine)
 
 ADD_ENUM_VALUE ("InsufficientDeflineInfo", eAlnSubcode_InsufficientDeflineInfo)
 
 ADD_ENUM_VALUE ("UnsupportedFileFormat", eAlnSubcode_UnsupportedFileFormat)
 
 ADD_ENUM_VALUE ("UnterminatedComment", eAlnSubcode_UnterminatedComment)
 
 ADD_ENUM_VALUE ("UnusedLine", eAlnSubcode_UnusedLine)
 
 ADD_ENUM_VALUE ("InconsistentMolType", eAlnSubcode_InconsistentMolType)
 
 ADD_ENUM_VALUE ("IllegalDataDescription", eAlnSubcode_IllegalDataDescription)
 
 ADD_ENUM_VALUE ("FileDoesNotExist", eAlnSubcode_FileDoesNotExist)
 
 ADD_ENUM_VALUE ("FileTooShort", eAlnSubcode_FileTooShort)
 
 ADD_ENUM_VALUE ("UnexpectedCommand", eAlnSubcode_UnexpectedCommand)
 
 ADD_ENUM_VALUE ("UnexpectedCommandArgs", eAlnSubcode_UnexpectedCommandArgs)
 
 ADD_ENUM_VALUE ("Unrecognized", eModSubcode_Unrecognized)
 
 ADD_ENUM_VALUE ("InvalidValue", eModSubcode_InvalidValue)
 
 ADD_ENUM_VALUE ("Duplicate", eModSubcode_Duplicate)
 
 ADD_ENUM_VALUE ("ConflictingValues", eModSubcode_ConflictingValues)
 
 ADD_ENUM_VALUE ("Deprecated", eModSubcode_Deprecated)
 
 ADD_ENUM_VALUE ("ProteinModOnNucseq", eModSubcode_ProteinModOnNucseq)
 
END_ENUM_INFO string ErrorPrintf (const char *format,...)
 
string BadCharCountPrintf (int expectedCount, int actualCount)
 

Variables

thread_local unique_ptr< CAlnErrorReportertheErrorReporter
 
 END_ENUM_INFO
 

Function Documentation

◆ ADD_ENUM_VALUE() [1/28]

ADD_ENUM_VALUE ( "Alignment"  ,
eReader_Alignment   
)

◆ ADD_ENUM_VALUE() [2/28]

ADD_ENUM_VALUE ( "BadDataChars"  ,
eAlnSubcode_BadDataChars   
)

◆ ADD_ENUM_VALUE() [3/28]

ADD_ENUM_VALUE ( "BadDataCount"  ,
eAlnSubcode_BadDataCount   
)

◆ ADD_ENUM_VALUE() [4/28]

ADD_ENUM_VALUE ( "BadSequenceCount"  ,
eAlnSubcode_BadSequenceCount   
)

◆ ADD_ENUM_VALUE() [5/28]

ADD_ENUM_VALUE ( "ConflictingValues"  ,
eModSubcode_ConflictingValues   
)

◆ ADD_ENUM_VALUE() [6/28]

ADD_ENUM_VALUE ( "Deprecated"  ,
eModSubcode_Deprecated   
)

◆ ADD_ENUM_VALUE() [7/28]

ADD_ENUM_VALUE ( "Duplicate"  ,
eModSubcode_Duplicate   
)

◆ ADD_ENUM_VALUE() [8/28]

ADD_ENUM_VALUE ( "FileDoesNotExist"  ,
eAlnSubcode_FileDoesNotExist   
)

◆ ADD_ENUM_VALUE() [9/28]

ADD_ENUM_VALUE ( "FileTooShort"  ,
eAlnSubcode_FileTooShort   
)

◆ ADD_ENUM_VALUE() [10/28]

ADD_ENUM_VALUE ( "IllegalDataDescription"  ,
eAlnSubcode_IllegalDataDescription   
)

◆ ADD_ENUM_VALUE() [11/28]

ADD_ENUM_VALUE ( "IllegalDataLine"  ,
eAlnSubcode_IllegalDataLine   
)

◆ ADD_ENUM_VALUE() [12/28]

ADD_ENUM_VALUE ( "IllegalDefinitionLine"  ,
eAlnSubcode_IllegalDefinitionLine   
)

◆ ADD_ENUM_VALUE() [13/28]

ADD_ENUM_VALUE ( "IllegalSequenceId"  ,
eAlnSubcode_IllegalSequenceId   
)

◆ ADD_ENUM_VALUE() [14/28]

ADD_ENUM_VALUE ( "InconsistentMolType"  ,
eAlnSubcode_InconsistentMolType   
)

◆ ADD_ENUM_VALUE() [15/28]

ADD_ENUM_VALUE ( "InsufficientDeflineInfo"  ,
eAlnSubcode_InsufficientDeflineInfo   
)

◆ ADD_ENUM_VALUE() [16/28]

ADD_ENUM_VALUE ( "InvalidValue"  ,
eModSubcode_InvalidValue   
)

◆ ADD_ENUM_VALUE() [17/28]

ADD_ENUM_VALUE ( "MissingDataLine"  ,
eAlnSubcode_MissingDataLine   
)

◆ ADD_ENUM_VALUE() [18/28]

ADD_ENUM_VALUE ( "Mods"  ,
eReader_Mods   
)

◆ ADD_ENUM_VALUE() [19/28]

ADD_ENUM_VALUE ( "ProteinModOnNucseq"  ,
eModSubcode_ProteinModOnNucseq   
)

◆ ADD_ENUM_VALUE() [20/28]

ADD_ENUM_VALUE ( "UnexpectedCommand"  ,
eAlnSubcode_UnexpectedCommand   
)

◆ ADD_ENUM_VALUE() [21/28]

ADD_ENUM_VALUE ( "UnexpectedCommandArgs"  ,
eAlnSubcode_UnexpectedCommandArgs   
)

◆ ADD_ENUM_VALUE() [22/28]

ADD_ENUM_VALUE ( "UnexpectedSeqId"  ,
eAlnSubcode_UnexpectedSeqId   
)

◆ ADD_ENUM_VALUE() [23/28]

ADD_ENUM_VALUE ( "Unrecognized"  ,
eModSubcode_Unrecognized   
)

◆ ADD_ENUM_VALUE() [24/28]

ADD_ENUM_VALUE ( "UnsupportedFileFormat"  ,
eAlnSubcode_UnsupportedFileFormat   
)

◆ ADD_ENUM_VALUE() [25/28]

ADD_ENUM_VALUE ( "UnterminatedBlock"  ,
eAlnSubcode_UnterminatedBlock   
)

◆ ADD_ENUM_VALUE() [26/28]

ADD_ENUM_VALUE ( "UnterminatedCommand"  ,
eAlnSubcode_UnterminatedCommand   
)

◆ ADD_ENUM_VALUE() [27/28]

ADD_ENUM_VALUE ( "UnterminatedComment"  ,
eAlnSubcode_UnterminatedComment   
)

◆ ADD_ENUM_VALUE() [28/28]

ADD_ENUM_VALUE ( "UnusedLine"  ,
eAlnSubcode_UnusedLine   
)

◆ BadCharCountPrintf()

string BadCharCountPrintf ( int  expectedCount,
int  actualCount 
)

◆ ErrorPrintf()

END_ENUM_INFO string ErrorPrintf ( const char *  format,
  ... 
)

Variable Documentation

◆ END_ENUM_INFO

END_ENUM_INFO
Initial value:
{
ADD_ENUM_VALUE("Mods", eReader_Mods)
@ eAlnSubcode_Undefined

Definition at line 52 of file aln_errors.cpp.

◆ theErrorReporter

thread_local unique_ptr<CAlnErrorReporter> theErrorReporter
Modified on Wed Sep 04 15:05:26 2024 by modify_doxy.py rev. 669887