NCBI C++ ToolKit
Classes | Macros | Typedefs | Functions
block.cpp File Reference
#include <ncbi_pch.hpp>
#include "ftacpp.hpp"
#include "ftaerr.hpp"
#include "ftablock.h"
#include "indx_blk.h"
#include "indx_def.h"
#include "utilfun.h"
+ Include dependency graph for block.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.


struct  QSStruct


#define THIS_FILE   "block.cpp"


using QSStructPtr = QSStruct *


void GapFeatsFree (GapFeatsPtr gfp)
void xFreeEntry (DataBlkPtr entry)
void XMLIndexFree (XmlIndexPtr xip)
void FreeIndexblk (IndexblkPtr ibp)
static bool AccsCmp (const Indexblk *ibp1, const Indexblk *ibp2)
static bool QSCmp (const QSStruct *qs1, const QSStruct *qs2)
static void QSStructFree (QSStructPtr qssp)
static bool QSNoSequenceRecordErr (bool accver, QSStructPtr qssp)
bool QSIndex (ParserPtr pp, IndBlkNextPtr ibnp)

Macro Definition Documentation


#define THIS_FILE   "block.cpp"

Definition at line 48 of file block.cpp.

Typedef Documentation

◆ QSStructPtr

Definition at line 58 of file block.cpp.

Function Documentation

◆ AccsCmp()

static bool AccsCmp ( const Indexblk ibp1,
const Indexblk ibp2 

Definition at line 158 of file block.cpp.

References Indexblk::acnum, i, Indexblk::offset, StringCmp(), and Indexblk::vernum.

Referenced by QSIndex().

◆ FreeIndexblk()

void FreeIndexblk ( IndexblkPtr  ibp)

Definition at line 143 of file block.cpp.

References GapFeatsFree(), Indexblk::gaps, Indexblk::xip, and XMLIndexFree().

Referenced by ResetParserStruct().

◆ GapFeatsFree()

void GapFeatsFree ( GapFeatsPtr  gfp)

Definition at line 61 of file block.cpp.

References GapFeats::next.

Referenced by CollectGapFeats(), and FreeIndexblk().

◆ QSCmp()

static bool QSCmp ( const QSStruct qs1,
const QSStruct qs2 

Definition at line 171 of file block.cpp.

References QSStruct::accession, i, StringCmp(), and QSStruct::version.

Referenced by QSIndex().

◆ QSIndex()

bool QSIndex ( ParserPtr  pp,
IndBlkNextPtr  ibnp 

◆ QSNoSequenceRecordErr()

static bool QSNoSequenceRecordErr ( bool  accver,
QSStructPtr  qssp 

Definition at line 192 of file block.cpp.

References QSStruct::accession, ERR_QSCORE_NoSequenceRecord, ErrPostEx, SEV_FATAL, and QSStruct::version.

Referenced by QSIndex().

◆ QSStructFree()

static void QSStructFree ( QSStructPtr  qssp)

Definition at line 181 of file block.cpp.

References QSStruct::next.

Referenced by QSIndex().

◆ xFreeEntry()

void xFreeEntry ( DataBlkPtr  entry)

Definition at line 109 of file block.cpp.

References DataBlk::mpData.

Referenced by EmblAscii(), and GenBankAsciiOrig().

◆ XMLIndexFree()

void XMLIndexFree ( XmlIndexPtr  xip)

Definition at line 130 of file block.cpp.

References XmlIndex::next, XmlIndex::subtags, and XMLIndexFree().

Referenced by FreeIndexblk(), XMLIndexFree(), and XMLIndexSameSubTags().

Modified on Sat May 25 14:20:13 2024 by rev. 669887