62 m_strNormalizedType(
""),
74 m_uSeqStart(rhs.m_uSeqStart),
75 m_uSeqStop(rhs.m_uSeqStop),
76 m_strSource(rhs.m_strSource),
77 m_strType(rhs.m_strType),
78 m_strNormalizedType(rhs.m_strNormalizedType),
112 return seqidresolve(Id(),
flags,
true);
123 pLocation->
SetInt().SetFrom(
static_cast<TSeqPos>(SeqStart()));
126 pLocation->
SetInt().SetStrand(Strand());
138 if (!xInitFeatureLocation(
flags, pFeature, seqidresolve)) {
141 if (!xInitFeatureData(
flags, pFeature)) {
144 return xInitFeatureId(
flags, pFeature);
153 unsigned int featId = NextId();
156 pFeature->SetId(*pFeatId);
167 pFeature->SetLocation(*GetSeqLoc(
flags, seqidresolve));
183 pFeature->SetData().SetCdregion().SetFrame(frame);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
CRef< CSeq_id > GetSeqId(TReaderFlags, SeqIdResolver=nullptr) const
virtual ~CGffBaseColumns()
virtual bool xInitFeatureId(TReaderFlags, CRef< CSeq_feat >) const
CRef< CSeq_loc > GetSeqLoc(TReaderFlags, SeqIdResolver seqidresolve=nullptr) const
static unsigned int msNextId
virtual bool xInitFeatureData(TReaderFlags, CRef< CSeq_feat >) const
virtual bool InitializeFeature(TReaderFlags, CRef< CSeq_feat >, SeqIdResolver=nullptr) const
virtual bool xInitFeatureLocation(TReaderFlags, CRef< CSeq_feat >, SeqIdResolver=nullptr) const
ENa_strand Strand() const
static CRef< CSeq_id > AsSeqId(const string &rawId, long flags=0, bool localInts=true)
Convert a raw ID string to a Seq-id, based in given customization flags.
Include a standard set of the NCBI C++ Toolkit most basic headers.
unsigned int TSeqPos
Type for sequence locations and lengths.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TId & SetId(void)
Select the variant.
TLocal & SetLocal(void)
Select the variant.
@ eFrame_not_set
not set, code uses one
ENa_strand
strand of nucleic acid
static bool GetSeqId(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)