1 #ifndef GUI_CORE___TABLE_ANNOT_DATA_SOURCE__HPP
2 #define GUI_CORE___TABLE_ANNOT_DATA_SOURCE__HPP
75 , m_StartPosCol(start)
84 string GetColumnInfo()
const;
115 string GetField(
size_t row,
size_t col)
const;
119 vector<STableLocation> FindLocations(
string&
msg,
bool strand_required);
122 bool AddSeqLoc(
const STableLocation& fc,
int loc_number,
ICanceled* cancel=
NULL);
125 bool AddSnpSeqLoc(
const STableLocation& fc,
int loc_number,
ICanceled* cancel=
NULL);
128 bool CreateFeature(
const STableLocation& fc,
ICanceled* cancel=
NULL);
131 bool CreateSnpFeature(
const STableLocation& fc,
ICanceled* cancel=
NULL);
134 bool CreateSnps(
const STableLocation& fc,
ICanceled* cancel=
NULL);
137 void RemoveSeqLocs();
155 void x_LogErr(
const string& logstr,
string& errstr,
int& err_count,
int row);
160 string x_GetMetaInfoTag(
const string& meta_string,
const string& tag_name);
164 bool x_UpdateMetaInfoTag(
string& meta_string,
165 const string& tag_name,
166 const string& new_value);
User-defined methods of the data storage class.
Int2 LIBCALLBACK WriteAsn(Pointer object, CharPtr data, Uint2 length)
CRef< CSeq_annot > GetContainer()
size_t GetNumRows() const
return total number of rows read
CRef< CSeq_annot > m_AnnotContainer
Interface for testing cancellation request in a long lasting operation.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_LOADERS_EXPORT
ENa_strand
strand of nucleic acid
Defines to provide correct exporting from DLLs in Windows.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
The NCBI C++/STL use hints.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
#define row(bind, expected)
STableLocation(int col, int start, int stop, int length, int strand, int dr, int gt, bool rsid)
Some of these may be -1 (e.g. stop OR length, and data region)