NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
SSubjRootsInfo Struct Reference

Search Toolkit Book for SSubjRootsInfo

SSeedRoot container for one subject. More...

+ Collaboration diagram for SSubjRootsInfo:

Public Types

typedef std::vector< SSeedRootTRoots
 Container implementation type. More...
 

Public Member Functions

void CleanUp ()
 Clean up extra allocated memory. More...
 

Public Attributes

unsigned int len_
 Current number of stored roots. More...
 
TRootsextra_roots_
 Storage for extra roots. More...
 

Detailed Description

SSeedRoot container for one subject.

Definition at line 196 of file dbindex_search.cpp.

Member Typedef Documentation

◆ TRoots

typedef std::vector< SSeedRoot > SSubjRootsInfo::TRoots

Container implementation type.

Definition at line 199 of file dbindex_search.cpp.

Member Function Documentation

◆ CleanUp()

void SSubjRootsInfo::CleanUp ( )
inline

Clean up extra allocated memory.

Definition at line 202 of file dbindex_search.cpp.

References extra_roots_.

Referenced by CSeedRoots::CleanUp().

Member Data Documentation

◆ extra_roots_

TRoots* SSubjRootsInfo::extra_roots_

Storage for extra roots.

Allocated only if preallocated storage overfills.

Definition at line 210 of file dbindex_search.cpp.

Referenced by CSeedRoots::Add(), CSeedRoots::Add2(), CleanUp(), and CSearch_Base< LEGACY, NHITS, derived_t >::ComputeSeeds().

◆ len_

unsigned int SSubjRootsInfo::len_

Current number of stored roots.

Definition at line 209 of file dbindex_search.cpp.

Referenced by CSeedRoots::Add(), CSeedRoots::Add2(), and CSearch_Base< LEGACY, NHITS, derived_t >::ComputeSeeds().


The documentation for this struct was generated from the following file:
Modified on Sun Apr 14 05:26:19 2024 by modify_doxy.py rev. 669887