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

Search Toolkit Book for Section

#include "entry.h"
(Private to src/objtools/flatfile.)

+ Collaboration diagram for Section:

Public Member Functions

 Section (int type_, const vector< string > &textLines)
 
 ~Section ()
 
void DumpText (ostream &ostr) const
 
void xBuildSubBlock (int subtype, const char *subKw)
 
void xBuildFeatureBlocks ()
 

Public Attributes

int mType
 
vector< stringmTextLines
 
vector< Section * > mSubSections
 
char * mpQscore
 
bool mDrop
 

Detailed Description

Definition at line 11 of file entry.h.

Constructor & Destructor Documentation

◆ Section()

Section::Section ( int  type_,
const vector< string > &  textLines 
)
inline

Definition at line 14 of file entry.h.

Referenced by xBuildFeatureBlocks(), and xBuildSubBlock().

◆ ~Section()

Section::~Section ( )
inline

Definition at line 22 of file entry.h.

References mpQscore, and mSubSections.

Member Function Documentation

◆ DumpText()

void Section::DumpText ( ostream &  ostr) const
inline

Definition at line 30 of file entry.h.

References NStr::Join(), mSubSections, and mTextLines.

◆ xBuildFeatureBlocks()

void Section::xBuildFeatureBlocks ( )

Definition at line 86 of file entry.cpp.

References mSubSections, mTextLines, ParFlat_FEATBLOCK, and Section().

◆ xBuildSubBlock()

void Section::xBuildSubBlock ( int  subtype,
const char *  subKw 
)

Definition at line 56 of file entry.cpp.

References mSubSections, mTextLines, Section(), and NStr::StartsWith().

Member Data Documentation

◆ mDrop

bool Section::mDrop

Definition at line 51 of file entry.h.

◆ mpQscore

char* Section::mpQscore

Definition at line 50 of file entry.h.

Referenced by ~Section().

◆ mSubSections

vector<Section*> Section::mSubSections

Definition at line 49 of file entry.h.

Referenced by DumpText(), xBuildFeatureBlocks(), xBuildSubBlock(), and ~Section().

◆ mTextLines

vector<string> Section::mTextLines

Definition at line 48 of file entry.h.

Referenced by DumpText(), xBuildFeatureBlocks(), and xBuildSubBlock().

◆ mType

int Section::mType

Definition at line 47 of file entry.h.

Referenced by xTrackNodeType().


The documentation for this struct was generated from the following files:
Modified on Sat Feb 24 07:47:06 2024 by modify_doxy.py rev. 669887