NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
CSearch_Base< LEGACY, NHITS, derived_t > Class Template Reference

Represents ASN.1 type Search defined in file blastxml2.asn

Search Toolkit Book for CSearch_Base

CSearch_Base –. More...

#include <objects/blastxml2/Search_.hpp>

+ Inheritance diagram for CSearch_Base< LEGACY, NHITS, derived_t >:
+ Collaboration diagram for CSearch_Base< LEGACY, NHITS, derived_t >:

Public Types

enum class  E_memberIndex {
  e__allMandatory = 0 , e_query_id , e_query_title , e_query_len ,
  e_query_masking , e_hits , e_stat , e_message
}
 
typedef string TQuery_id
 
typedef string TQuery_title
 
typedef int TQuery_len
 
typedef list< CRef< CRange > > TQuery_masking
 
typedef list< CRef< CHit > > THits
 
typedef CStatistics TStat
 
typedef string TMessage
 
typedef Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
 
Aliases for convenience.
typedef CDbIndex_Impl< LEGACY > TIndex_Impl
 
typedef TIndex_Impl::TSubjectMap TSubjectMap
 
typedef CTrackedSeeds< NHITS > TTrackedSeeds
 
typedef derived_t TDerived
 
- Public Types inherited from CObject
enum  EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern }
 Control filling of newly allocated memory. More...
 
typedef CObjectCounterLocker TLockerType
 Default locker type for CRef. More...
 
typedef atomic< Uint8TCounter
 Counter type is CAtomiCounter. More...
 
typedef Uint8 TCount
 Alias for value type of counter. More...
 

Public Member Functions

 CSearch_Base (void)
 
virtual ~CSearch_Base (void)
 
 DECLARE_INTERNAL_TYPE_INFO ()
 
bool IsSetQuery_id (void) const
 SeqId of query Check if a value has been assigned to Query_id data member. More...
 
bool CanGetQuery_id (void) const
 Check if it is safe to call GetQuery_id method. More...
 
void ResetQuery_id (void)
 Reset Query_id data member. More...
 
const TQuery_idGetQuery_id (void) const
 Get the Query_id member data. More...
 
void SetQuery_id (const TQuery_id &value)
 Assign a value to Query_id data member. More...
 
void SetQuery_id (TQuery_id &&value)
 
TQuery_idSetQuery_id (void)
 Assign a value to Query_id data member. More...
 
bool IsSetQuery_title (void) const
 Definition line of query Check if a value has been assigned to Query_title data member. More...
 
bool CanGetQuery_title (void) const
 Check if it is safe to call GetQuery_title method. More...
 
void ResetQuery_title (void)
 Reset Query_title data member. More...
 
const TQuery_titleGetQuery_title (void) const
 Get the Query_title member data. More...
 
void SetQuery_title (const TQuery_title &value)
 Assign a value to Query_title data member. More...
 
void SetQuery_title (TQuery_title &&value)
 
TQuery_titleSetQuery_title (void)
 Assign a value to Query_title data member. More...
 
bool IsSetQuery_len (void) const
 length of query sequence Check if a value has been assigned to Query_len data member. More...
 
bool CanGetQuery_len (void) const
 Check if it is safe to call GetQuery_len method. More...
 
void ResetQuery_len (void)
 Reset Query_len data member. More...
 
TQuery_len GetQuery_len (void) const
 Get the Query_len member data. More...
 
void SetQuery_len (TQuery_len value)
 Assign a value to Query_len data member. More...
 
TQuery_lenSetQuery_len (void)
 Assign a value to Query_len data member. More...
 
bool IsSetQuery_masking (void) const
 Masked offsets. More...
 
bool CanGetQuery_masking (void) const
 Check if it is safe to call GetQuery_masking method. More...
 
void ResetQuery_masking (void)
 Reset Query_masking data member. More...
 
const TQuery_maskingGetQuery_masking (void) const
 Get the Query_masking member data. More...
 
TQuery_maskingSetQuery_masking (void)
 Assign a value to Query_masking data member. More...
 
bool IsSetHits (void) const
 Hits one for every db sequence Check if a value has been assigned to Hits data member. More...
 
bool CanGetHits (void) const
 Check if it is safe to call GetHits method. More...
 
void ResetHits (void)
 Reset Hits data member. More...
 
const THitsGetHits (void) const
 Get the Hits member data. More...
 
THitsSetHits (void)
 Assign a value to Hits data member. More...
 
bool IsSetStat (void) const
 search statistics Check if a value has been assigned to Stat data member. More...
 
bool CanGetStat (void) const
 Check if it is safe to call GetStat method. More...
 
void ResetStat (void)
 Reset Stat data member. More...
 
const TStatGetStat (void) const
 Get the Stat member data. More...
 
void SetStat (TStat &value)
 Assign a value to Stat data member. More...
 
TStatSetStat (void)
 Assign a value to Stat data member. More...
 
bool IsSetMessage (void) const
 Some (error?) information Check if a value has been assigned to Message data member. More...
 
bool CanGetMessage (void) const
 Check if it is safe to call GetMessage method. More...
 
void ResetMessage (void)
 Reset Message data member. More...
 
const TMessageGetMessage (void) const
 Get the Message member data. More...
 
void SetMessage (const TMessage &value)
 Assign a value to Message data member. More...
 
void SetMessage (TMessage &&value)
 
TMessageSetMessage (void)
 Assign a value to Message data member. More...
 
virtual void Reset (void)
 Reset the whole object. More...
 
 CSearch_Base (const TIndex_Impl &index_impl, const BLAST_SequenceBlk *query, const BlastSeqLoc *locs, const TSearchOptions &options)
 Object constructor. More...
 
CConstRef< CDbIndex::CSearchResultsoperator() ()
 Performs the search. More...
 
- Public Member Functions inherited from CSerialObject
 CSerialObject (void)
 
virtual ~CSerialObject (void)
 
virtual const CTypeInfoGetThisTypeInfo (void) const =0
 
virtual void Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive)
 Set object to copy of another one. More...
 
virtual bool Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const
 Check if both objects contain the same values. More...
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
void ThrowUnassigned (TMemberIndex index) const
 
void ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const
 
bool HasNamespaceName (void) const
 Check if object data type has namespace name. More...
 
const stringGetNamespaceName (void) const
 Get namespace name. More...
 
bool HasNamespacePrefix (void) const
 Check if data type has namespace prefix. More...
 
const stringGetNamespacePrefix (void) const
 Get namespace prefix. More...
 
- Public Member Functions inherited from CObject
 CObject (void)
 Constructor. More...
 
 CObject (const CObject &src)
 Copy constructor. More...
 
virtual ~CObject (void)
 Destructor. More...
 
CObjectoperator= (const CObject &src) THROWS_NONE
 Assignment operator. More...
 
bool CanBeDeleted (void) const THROWS_NONE
 Check if object can be deleted. More...
 
bool IsAllocatedInPool (void) const THROWS_NONE
 Check if object is allocated in memory pool (not system heap) More...
 
bool Referenced (void) const THROWS_NONE
 Check if object is referenced. More...
 
bool ReferencedOnlyOnce (void) const THROWS_NONE
 Check if object is referenced only once. More...
 
void AddReference (void) const
 Add reference to object. More...
 
void RemoveReference (void) const
 Remove reference to object. More...
 
void ReleaseReference (void) const
 Remove reference without deleting object. More...
 
virtual void DoNotDeleteThisObject (void)
 Mark this object as not allocated in heap – do not delete this object. More...
 
virtual void DoDeleteThisObject (void)
 Mark this object as allocated in heap – object can be deleted. More...
 
void * operator new (size_t size)
 Define new operator for memory allocation. More...
 
void * operator new[] (size_t size)
 Define new[] operator for 'array' memory allocation. More...
 
void operator delete (void *ptr)
 Define delete operator for memory deallocation. More...
 
void operator delete[] (void *ptr)
 Define delete[] operator for memory deallocation. More...
 
void * operator new (size_t size, void *place)
 Define new operator. More...
 
void operator delete (void *ptr, void *place)
 Define delete operator. More...
 
void * operator new (size_t size, CObjectMemoryPool *place)
 Define new operator using memory pool. More...
 
void operator delete (void *ptr, CObjectMemoryPool *place)
 Define delete operator. More...
 
- Public Member Functions inherited from CDebugDumpable
 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
void DumpToConsole (void) const
 

Protected Types

typedef CDbIndex::SSearchOptions TSearchOptions
 Alias for convenience. More...
 
typedef STrackedSeed< NHITS > TTrackedSeed
 Alias for convenience. More...
 
typedef std::vector< TTrackedSeedsTTrackedSeedsSet
 Representation of the set of currently tracked seeds for all subject sequences. More...
 

Protected Member Functions

void SearchInt ()
 Helper method to search a particular segment of the query. More...
 
void ProcessBoundaryOffset (TWord offset, TWord bounds)
 Process a seed candidate that is close to the masked out or ambigous region of the subject. More...
 
void ProcessOffset (TWord offset)
 Process a regular seed candidate. More...
 
void ExtendLeft (TTrackedSeed &seed, TSeqPos nmax=~(TSeqPos) 0) const
 Extend a seed candidate to the left. More...
 
void ExtendRight (TTrackedSeed &seed, TSeqPos nmax=~(TSeqPos) 0) const
 Extend a seed candidate to the right. More...
 
void ComputeSeeds ()
 Compute the seeds after all roots are collected. More...
 
unsigned long ProcessRoot (TTrackedSeeds &seeds, const SSeedRoot *root)
 Process a single root. More...
 
- Protected Member Functions inherited from CObject
virtual void DeleteThis (void)
 Virtual method "deleting" this object. More...
 

Protected Attributes

const TIndex_Implindex_impl_
 The index implementation object. More...
 
const BLAST_SequenceBlkquery_
 The query sequence encoded in BLASTNA. More...
 
const BlastSeqLoclocs_
 Set of query locations to search. More...
 
TSearchOptions options_
 Search options. More...
 
TTrackedSeedsSet seeds_
 The set of currently tracked seeds. More...
 
TSeqNum subject_
 Logical id of the subject sequence containing the offset value currently being considered. More...
 
TWord subj_start_off_
 Start offset of subject_. More...
 
TWord subj_end_off_
 End offset of subject_. More...
 
TWord subj_start_
 Start position of subject_. More...
 
TWord subj_end_
 One past the end position of subject_. More...
 
TSeqPos qoff_
 Current query offset. More...
 
TSeqPos soff_
 Current subject offset. More...
 
TSeqPos qstart_
 Start of the current query segment. More...
 
TSeqPos qstop_
 One past the end of the current query segment. More...
 
CSeedRoots roots_
 Collection of initial soff/qoff pairs. More...
 
unsigned long code_bits_
 Number of bits to represent special offset prefix. More...
 
unsigned long min_offset_
 Minumum offset used by the index. More...
 

Private Types

typedef CSerialObject Tparent
 

Private Member Functions

 CSearch_Base (const CSearch_Base &)
 
CSearch_Baseoperator= (const CSearch_Base &)
 

Private Attributes

Uint4 m_set_State [1]
 
string m_Query_id
 
string m_Query_title
 
int m_Query_len
 
list< CRef< CRange > > m_Query_masking
 
list< CRef< CHit > > m_Hits
 
CRef< TStatm_Stat
 
string m_Message
 

Additional Inherited Members

- Static Public Member Functions inherited from CSerialObject
static void SetVerifyDataThread (ESerialVerifyData verify)
 
static void SetVerifyDataGlobal (ESerialVerifyData verify)
 
static string UnassignedString (void)
 
static CStringUTF8 UnassignedStringUTF8 (void)
 
static char UnassignedByte (void)
 
- Static Public Member Functions inherited from CObject
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void)
 Define method to throw null pointer exception. More...
 
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type)
 
static EAllocFillMode GetAllocFillMode (void)
 
static void SetAllocFillMode (EAllocFillMode mode)
 
static void SetAllocFillMode (const string &value)
 Set mode from configuration parameter value. More...
 
- Static Public Member Functions inherited from CDebugDumpable
static void EnableDebugDump (bool on)
 
- Static Public Attributes inherited from CSerialObject
static const char * ms_UnassignedStr = "<*unassigned*>"
 
static const char ms_UnassignedByte = char(0xcd)
 
- Static Public Attributes inherited from CObject
static const TCount eCounterBitsCanBeDeleted = 1 << 0
 Define possible object states. More...
 
static const TCount eCounterBitsInPlainHeap = 1 << 1
 Heap signature was found. More...
 
static const TCount eCounterBitsPlaceMask
 Mask for 'in heap' state flags. More...
 
static const int eCounterStep = 1 << 2
 Skip over the "in heap" bits. More...
 
static const TCount eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2)
 Minimal value for valid objects (reference counter is zero) Must be a single bit value. More...
 
static const TCount eCounterStateMask
 Valid object, and object in heap. More...
 

Detailed Description

template<bool LEGACY, unsigned long NHITS, typename derived_t>
class CSearch_Base< LEGACY, NHITS, derived_t >

CSearch_Base –.

This is the object representing the state of a search over the index.

Use of a separate class for searches allows for multiple simultaneous searches against the same index.

Definition at line 85 of file Search_.hpp.

Member Typedef Documentation

◆ TDerived

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef derived_t CSearch_Base< LEGACY, NHITS, derived_t >::TDerived

Definition at line 870 of file dbindex_search.cpp.

◆ TIndex_Impl

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef CDbIndex_Impl< LEGACY > CSearch_Base< LEGACY, NHITS, derived_t >::TIndex_Impl

Definition at line 867 of file dbindex_search.cpp.

◆ TSearchOptions

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef CDbIndex::SSearchOptions CSearch_Base< LEGACY, NHITS, derived_t >::TSearchOptions
protected

Alias for convenience.

Definition at line 861 of file dbindex_search.cpp.

◆ TSubjectMap

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef TIndex_Impl::TSubjectMap CSearch_Base< LEGACY, NHITS, derived_t >::TSubjectMap

Definition at line 868 of file dbindex_search.cpp.

◆ TTrackedSeed

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef STrackedSeed< NHITS > CSearch_Base< LEGACY, NHITS, derived_t >::TTrackedSeed
protected

Alias for convenience.

Definition at line 893 of file dbindex_search.cpp.

◆ TTrackedSeeds

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef CTrackedSeeds< NHITS > CSearch_Base< LEGACY, NHITS, derived_t >::TTrackedSeeds

Definition at line 869 of file dbindex_search.cpp.

◆ TTrackedSeedsSet

template<bool LEGACY, unsigned long NHITS, typename derived_t >
typedef std::vector< TTrackedSeeds > CSearch_Base< LEGACY, NHITS, derived_t >::TTrackedSeedsSet
protected

Representation of the set of currently tracked seeds for all subject sequences.

Definition at line 898 of file dbindex_search.cpp.

Constructor & Destructor Documentation

◆ CSearch_Base()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
CSearch_Base< LEGACY, NHITS, derived_t >::CSearch_Base ( const TIndex_Impl index_impl,
const BLAST_SequenceBlk query,
const BlastSeqLoc locs,
const TSearchOptions options 
)

Object constructor.

Parameters
index_impl[I] the index implementation object
query[I] query data encoded in BLASTNA
locs[I] set of query locations to search
options[I] search options

Definition at line 976 of file dbindex_search.cpp.

References CDbIndex_Impl< LEGACY >::GetSubjectMap(), i, CSearch_Base< LEGACY, NHITS, derived_t >::index_impl_, CDbIndex_Impl< LEGACY >::NumSubjects(), and CSearch_Base< LEGACY, NHITS, derived_t >::seeds_.

Member Function Documentation

◆ ComputeSeeds()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::ComputeSeeds
protected

Compute the seeds after all roots are collected.

Definition at line 1224 of file dbindex_search.cpp.

References SSubjRootsInfo::extra_roots_, and SSubjRootsInfo::len_.

◆ ExtendLeft()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::ExtendLeft ( TTrackedSeed seed,
TSeqPos  nmax = ~(TSeqPos)0 
) const
protected

Extend a seed candidate to the left.

No more than word_length - hkey_width positions are inspected.

Parameters
seed[I] the seed candidate
nmax[I] if non-zero - additional restriction for the number of positions to consider

Definition at line 998 of file dbindex_search.cpp.

References ambig(), CDbIndex::CR, CR, i, and seed.

◆ ExtendRight()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::ExtendRight ( TTrackedSeed seed,
TSeqPos  nmax = ~(TSeqPos)0 
) const
protected

Extend a seed candidate to the right.

Extends as far right as possible, unless nmax parameter is non-zeroA

Parameters
seed[I] the seed candidate
nmax[I] if non-zero - search no more than this many positions

Definition at line 1070 of file dbindex_search.cpp.

References ambig(), CDbIndex::CR, CR, i, and seed.

◆ operator()()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
CConstRef< CDbIndex::CSearchResults > CSearch_Base< LEGACY, NHITS, derived_t >::operator() ( void  )

Performs the search.

Returns
the set of seeds matching the query to the sequences present in the index

Definition at line 1310 of file dbindex_search.cpp.

References CSubjectMap::GetNumChunks(), CSubjectMap::GetSubjectMap(), i, SSeqRange::left, BlastSeqLoc::next, result, SSeqRange::right, and BlastSeqLoc::ssr.

◆ ProcessBoundaryOffset()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::ProcessBoundaryOffset ( TWord  offset,
TWord  bounds 
)
protected

Process a seed candidate that is close to the masked out or ambigous region of the subject.

The second parameter is encoded as follows: bits 3-5 (0-2) ' is the distance to the left (right) boundary of the valid subject region plus 1. Value 0 in either field indicates that the corresponding distance is greater than 5.

Parameters
offset[I] uncompressed offset value
bounds[I] distance to the left and/or right boundary of the valid subject region.

Definition at line 1142 of file dbindex_search.cpp.

References bounds, offset, and seed.

◆ ProcessOffset()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::ProcessOffset ( TWord  offset)
protected

Process a regular seed candidate.

Parameters
offset[I] uncompressed offset value

Definition at line 1177 of file dbindex_search.cpp.

References offset, and seed.

◆ ProcessRoot()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE unsigned long CSearch_Base< LEGACY, NHITS, derived_t >::ProcessRoot ( TTrackedSeeds seeds,
const SSeedRoot root 
)
protected

Process a single root.

Parameters
seeds[I/O] information on currently tracked seeds
root[I] root to process
Returns
1 for normal offsets, 2 for boundary offsets

Definition at line 1194 of file dbindex_search.cpp.

References SSeedRoot::qoff_, SSeedRoot::qstart_, SSeedRoot::qstop_, and SSeedRoot::soff_.

◆ SearchInt()

template<bool LEGACY, unsigned long NHITS, typename derived_t >
INLINE void CSearch_Base< LEGACY, NHITS, derived_t >::SearchInt
protected

Helper method to search a particular segment of the query.

The segment is taken from state of the search object.

Definition at line 1260 of file dbindex_search.cpp.

References CNmerIterator::Next(), CNmerIterator::Nmer(), offset, CNmerIterator::Pos(), and r().

Member Data Documentation

◆ code_bits_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
unsigned long CSearch_Base< LEGACY, NHITS, derived_t >::code_bits_
protected

Number of bits to represent special offset prefix.

Definition at line 970 of file dbindex_search.cpp.

◆ index_impl_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
const TIndex_Impl& CSearch_Base< LEGACY, NHITS, derived_t >::index_impl_
protected

◆ locs_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
const BlastSeqLoc* CSearch_Base< LEGACY, NHITS, derived_t >::locs_
protected

Set of query locations to search.

Definition at line 954 of file dbindex_search.cpp.

◆ min_offset_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
unsigned long CSearch_Base< LEGACY, NHITS, derived_t >::min_offset_
protected

Minumum offset used by the index.

Definition at line 971 of file dbindex_search.cpp.

◆ options_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSearchOptions CSearch_Base< LEGACY, NHITS, derived_t >::options_
protected

Search options.

Definition at line 955 of file dbindex_search.cpp.

◆ qoff_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSeqPos CSearch_Base< LEGACY, NHITS, derived_t >::qoff_
protected

Current query offset.

Definition at line 964 of file dbindex_search.cpp.

◆ qstart_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSeqPos CSearch_Base< LEGACY, NHITS, derived_t >::qstart_
protected

Start of the current query segment.

Definition at line 966 of file dbindex_search.cpp.

◆ qstop_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSeqPos CSearch_Base< LEGACY, NHITS, derived_t >::qstop_
protected

One past the end of the current query segment.

Definition at line 967 of file dbindex_search.cpp.

◆ query_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
const BLAST_SequenceBlk* CSearch_Base< LEGACY, NHITS, derived_t >::query_
protected

The query sequence encoded in BLASTNA.

Definition at line 953 of file dbindex_search.cpp.

◆ roots_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
CSeedRoots CSearch_Base< LEGACY, NHITS, derived_t >::roots_
protected

Collection of initial soff/qoff pairs.

Definition at line 968 of file dbindex_search.cpp.

◆ seeds_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TTrackedSeedsSet CSearch_Base< LEGACY, NHITS, derived_t >::seeds_
protected

The set of currently tracked seeds.

Definition at line 957 of file dbindex_search.cpp.

Referenced by CSearch_Base< LEGACY, NHITS, derived_t >::CSearch_Base().

◆ soff_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSeqPos CSearch_Base< LEGACY, NHITS, derived_t >::soff_
protected

Current subject offset.

Definition at line 965 of file dbindex_search.cpp.

◆ subj_end_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TWord CSearch_Base< LEGACY, NHITS, derived_t >::subj_end_
protected

One past the end position of subject_.

Definition at line 963 of file dbindex_search.cpp.

Referenced by CSearch< LEGACY, NHITS >::SetSubjInfo().

◆ subj_end_off_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TWord CSearch_Base< LEGACY, NHITS, derived_t >::subj_end_off_
protected

End offset of subject_.

Definition at line 961 of file dbindex_search.cpp.

◆ subj_start_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TWord CSearch_Base< LEGACY, NHITS, derived_t >::subj_start_
protected

Start position of subject_.

Definition at line 962 of file dbindex_search.cpp.

Referenced by CSearch< LEGACY, NHITS >::SetSubjInfo().

◆ subj_start_off_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TWord CSearch_Base< LEGACY, NHITS, derived_t >::subj_start_off_
protected

Start offset of subject_.

Definition at line 960 of file dbindex_search.cpp.

◆ subject_

template<bool LEGACY, unsigned long NHITS, typename derived_t >
TSeqNum CSearch_Base< LEGACY, NHITS, derived_t >::subject_
protected

Logical id of the subject sequence containing the offset value currently being considered.

Definition at line 958 of file dbindex_search.cpp.

Referenced by CSearch< LEGACY, NHITS >::DecodeOffset(), and CSearch< LEGACY, NHITS >::SetSubjInfo().


The documentation for this class was generated from the following files:
Modified on Sun May 19 04:45:21 2024 by modify_doxy.py rev. 669887