1 #ifndef ALGO_BLAST_API__BLAST_SEQINFOSRC__HPP
2 #define ALGO_BLAST_API__BLAST_SEQINFOSRC__HPP
65 virtual list< CRef<objects::CSeq_id> >
GetId(
Uint4 index)
const = 0;
76 virtual size_t Size()
const = 0;
100 const vector<TSeqRange>& target_ranges,
Contains C++ wrapper classes to structures in algo/blast/core as well as some auxiliary functions to ...
Defines to provide correct exporting from BLAST DLL in Windows.
Abstract base class to encapsulate retrieval of sequence identifiers.
Collection of masked regions for a single query sequence.
virtual list< CRef< objects::CSeq_id > > GetId(Uint4 index) const =0
Method to retrieve a sequence identifier given its ordinal number.
virtual CConstRef< objects::CSeq_loc > GetSeqLoc(Uint4 index) const =0
Method to retrieve the sequence location given its ordinal number.
virtual Uint4 GetLength(Uint4 index) const =0
Method to retrieve a sequence length given its ordinal number.
virtual bool GetMasks(Uint4 index, const vector< TSeqRange > &target_ranges, TMaskedSubjRegions &retval) const =0
Retrieves the subject masks for the corresponding index.
virtual size_t Size() const =0
Returns the size of the underlying container of sequences.
virtual bool CanReturnPartialSequence() const =0
Return true if the implementation can return anything besides a seq-loc for the entire sequence.
virtual ~IBlastSeqInfoSrc()
virtual bool HasGiList() const =0
Returns true if the subject is restricted by a GI list.
virtual bool GetMasks(Uint4 index, const TSeqRange &target_range, TMaskedSubjRegions &retval) const =0
Retrieves the subject masks for the corresponding index.
uint32_t Uint4
4-byte (32-bit) unsigned integer
#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.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.