ret.second = ret.first+1;
93 if( !
info.IsFeat() )
return false;
94 if( !
info.GetFeat().Equals(
m_Feat) )
return false;
119 if( !
info.IsAlign() )
return false;
120 if( !
info.GetAlign().Equals(
m_Align) )
return false;
146 if( !
info.IsGraph() )
return false;
147 if( !
info.GetGraph().Equals(
m_Graph) )
return false;
195 if(annot.
GetName() == name) {
209 if(annot.
GetName() == name) {
226vector<CHandleRangeMap> hrmaps;
227 context.CollectRangeMaps(hrmaps);
228 if(hrmaps.empty()) {
253 for(
size_tindex = range.first; index < range.second; ++index) {
263 while(it && it.
GetInterval() == overlap_range) {
277 context.CheckAnnotObject(annot_info) ) {
281}
while( run_again );
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
virtual void CollectRangeMaps(vector< CHandleRangeMap > &hrmaps) const
virtual CAnnotType_Index::TIndexRange GetIndexRange() const
virtual ~CAlignFindContext()
virtual bool CheckAnnotObject(const CAnnotObject_Info &info)
CAlignFindContext(const CSeq_align &align)
const CSeq_align & m_Align
const CTSE_Chunk_Info & GetChunk_Info(void) const
const CSeq_entry_Info & GetSeq_entry_Info(void) const
static void x_ProcessFeat(vector< CHandleRangeMap > &hrmaps, const CSeq_feat &feat, const CMasterSeqSegments *master)
static void x_ProcessAlign(vector< CHandleRangeMap > &hrmaps, const CSeq_align &align, const CMasterSeqSegments *master)
static void x_ProcessGraph(vector< CHandleRangeMap > &hrmaps, const CSeq_graph &graph, const CMasterSeqSegments *master)
bool IsChunkStub(void) const
pair< size_t, size_t > TIndexRange
static size_t GetSubtypeIndex(CSeqFeatData::ESubtype subtype)
static TIndexRange GetAnnotTypeRange(CSeq_annot::C_Data::E_Choice type)
virtual void CollectRangeMaps(vector< CHandleRangeMap > &hrmaps) const
virtual CAnnotType_Index::TIndexRange GetIndexRange() const
virtual bool CheckAnnotObject(const CAnnotObject_Info &info)
CFeatFindContext(const CSeq_feat &feat)
virtual ~CFeatFindContext()
virtual CAnnotType_Index::TIndexRange GetIndexRange() const
virtual ~CGraphFindContext()
virtual void CollectRangeMaps(vector< CHandleRangeMap > &hrmaps) const
virtual bool CheckAnnotObject(const CAnnotObject_Info &info)
CGraphFindContext(const CSeq_graph &graph)
const CSeq_graph & m_Graph
void Guard(resource_type &resource)
Manually force the guard to protect some other resource.
void Release()
Manually force the resource to be released.
ESubtype GetSubtype(void) const
void x_Find(const CSeq_entry_Info &entry, const CAnnotName &name, IFindContext &context)
const CAnnotObject_Info * Find(const CSeq_entry_Info &entry, const CAnnotName &name, const CSeq_feat &feat)
CConstRef< TObject > GetCompleteSeq_annot(void) const
const CAnnotName & GetName(void) const
const TAnnot & GetLoadedAnnot(void) const
vector< CRef< CSeq_annot_Info > > TAnnot
namespace ncbi::objects::
bool NotLoaded(void) const
void UpdateAnnotIndex(const CSeq_id_Handle &id) const
TAnnotLock & GetAnnotLock(void) const
const SIdAnnotObjs * x_GetIdObjects(const TAnnotObjs &objs, const CSeq_id_Handle &idh) const
const SIdAnnotObjs * x_GetUnnamedIdObjects(const CSeq_id_Handle &id) const
const CAnnotObject_Info * m_FoundObj
virtual void CollectRangeMaps(vector< CHandleRangeMap > &) const =0
virtual CAnnotType_Index::TIndexRange GetIndexRange() const =0
virtual bool CheckAnnotObject(const CAnnotObject_Info &)=0
const CAnnotObject_Info * GetFoundObj() const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
virtual bool Equals(const CSerialObject &object, ESerialRecursionMode how=eRecursive) const
Check if both objects contain the same values.
range_type GetInterval(void) const
const_iterator find(const key_type &key) const
#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.
const TData & GetData(void) const
Get the Data member data.
const Tdata & Get(void) const
Get the member data.
const TDesc & GetDesc(void) const
Get the Desc member data.
bool IsSetDesc(void) const
used only for stand alone Seq-annots Check if a value has been assigned to Desc data member.
bool IsSet(void) const
Check if a value has been assigned to data member.
static const sljit_gpr r0
const TRangeMap & x_GetRangeMap(size_t index) const
bool x_RangeMapIsEmpty(size_t index) const
static CS_CONTEXT * context
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4