33 #ifndef OBJTOOLS_READERS___READFEAT__HPP
34 #define OBJTOOLS_READERS___READFEAT__HPP
65 fReportBadKey
NCBI_STD_DEPRECATED(
"This flag is redundant. Bad keys are now reported by default"
66 " and fSuppressBadKeyWarning must be specified to silence these warnings.")
69 fTranslateBadKey = (1<<2),
70 fIgnoreWebComments = (1<<3),
71 fCreateGenesFromCDSs = (1<<4),
72 fCDSsMustBeInTheirGenes = (1<<5),
73 fReportDiscouragedKey = (1<<6),
74 fLeaveProteinIds = (1<<7),
75 fAllIdsAsLocal = (1<<8),
76 fPreferGenbankId = (1<<9),
77 fSuppressBadKeyWarning = (1<<10),
80 static void AddStringFlags(
81 const list<string>& stringFlags,
116 const string& annotname,
123 const string& annotname,
130 static void ReadSequinFeatureTables(
ILineReader& reader,
147 unsigned int line = 0,
153 const string& feat_name,
174 static bool ParseInitialFeatureLine (
long TFlags
binary OR of EFlags
unique_ptr< CFeatureTableReader_Imp > m_pImpl
Defines and provides stubs for a general interface to a variety of file readers.
EFlags
Customization flags that are relevant to all CReaderBase derived readers.
virtual CRef< CSerialObject > ReadObject(CNcbiIstream &istr, ILineErrorListener *pErrors=nullptr)
Read an object from a given input stream, render it as the most appropriate Genbank object.
virtual CRef< CSeq_annot > ReadSeqAnnot(CNcbiIstream &istr, ILineErrorListener *pErrors=nullptr)
Read an object from a given input stream, render it as a single Seq-annot.
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
Abstract base class for lightweight line-by-line reading.
Use to give a feature filter to CFeature_table_reader.
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char location[]
#define NCBI_STD_DEPRECATED(message)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
#define NCBI_XOBJREAD_EXPORT
Lightweight interface for getting lines of data with minimal memory copying.