1 #ifndef _SEQID_VALIDATE_HPP_
2 #define _SEQID_VALIDATE_HPP_
82 const string& idString,
86 using TIds = list<CRef<CSeq_id>>;
111 const string& idString);
119 const string& idString);
void SetMaxLocalIDLength(size_t length)
virtual void operator()(const TIds &ids, int lineNum, FReportError fReportError)
function< void(EDiagSev severity, int lineNum, const string &idString, EErrCode errCode, const string &msg)> FReportError
CFastaIdValidate(TFastaFlags flags)
void CheckForExcessiveNucData(const CSeq_id &id, int lineNum, FReportError fReportError) const
size_t kWarnNumAminoAcidCharsAtEnd
static size_t CountPossibleNucResidues(const string &idString)
size_t kErrNumNucCharsAtEnd
void SetMaxAccessionLength(size_t length)
virtual ~CFastaIdValidate()=default
list< CRef< CSeq_id > > TIds
virtual bool IsValidLocalString(const CTempString &idString) const
size_t kWarnNumNucCharsAtEnd
size_t kMaxAccessionLength
size_t kMaxGeneralTagLength
void CheckForExcessiveProtData(const CSeq_id &id, int lineNum, FReportError fReportError) const
static size_t CountPossibleAminoAcids(const string &idString)
bool IsValidLocalID(const CSeq_id &id) const
void SetMaxGeneralTagLength(size_t length)
void CheckIDLength(const CSeq_id &id, int lineNum, FReportError fReportError) const
virtual void operator()(const CSeq_id &seqId, int lineNum, CAlnErrorReporter *pErrorReporter)
virtual ~CSeqIdValidate(void)=default
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
Include a standard set of the NCBI C++ Toolkit most basic headers.
EDiagSev
Severity level for the posted diagnostics.
static const size_t kMaxAccessionLength
static const size_t kMaxLocalIDLength
ID length restrictions.
static const size_t kMaxGeneralTagLength
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)