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

Search Toolkit Book for Entry

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

+ Collaboration diagram for Entry:

Public Member Functions

 Entry (ParserPtr pp, const char *baseData)
 
 ~Entry ()
 
SectionPtr GetFirstSectionOfType (int type)
 
void AppendSection (SectionPtr secPtr)
 
bool IsAA () const
 
bool xInitNidSeqId (objects::CBioseq &, int type, int dataOffset, Parser::ESource)
 
bool xInitSeqInst (const unsigned char *pConvert)
 

Public Attributes

ParserPtr mPp
 
string mBaseData
 
list< SectionPtrmSections
 
CRef< objects::CSeq_entry > mSeqEntry
 

Detailed Description

Definition at line 57 of file entry.h.

Constructor & Destructor Documentation

◆ Entry()

Entry::Entry ( ParserPtr  pp,
const char *  baseData 
)
inline

Definition at line 60 of file entry.h.

◆ ~Entry()

Entry::~Entry ( )
inline

Definition at line 68 of file entry.h.

References mSections.

Member Function Documentation

◆ AppendSection()

void Entry::AppendSection ( SectionPtr  secPtr)
inline

Definition at line 85 of file entry.h.

References mSections.

◆ GetFirstSectionOfType()

SectionPtr Entry::GetFirstSectionOfType ( int  type)
inline

Definition at line 75 of file entry.h.

References mSections.

Referenced by xInitNidSeqId().

◆ IsAA()

bool Entry::IsAA ( void  ) const

Definition at line 145 of file entry.cpp.

References LocusCont::bp, Parser::curindx, Parser::entrylist, Indexblk::lc, mBaseData, and mPp.

◆ xInitNidSeqId()

bool Entry::xInitNidSeqId ( objects::CBioseq &  ,
int  type,
int  dataOffset,
Parser::ESource   
)

Definition at line 131 of file entry.cpp.

References GetFirstSectionOfType().

◆ xInitSeqInst()

bool Entry::xInitSeqInst ( const unsigned char *  pConvert)

Member Data Documentation

◆ mBaseData

string Entry::mBaseData

Definition at line 98 of file entry.h.

Referenced by IsAA(), xGetGenBankBlocks(), and xInitSeqInst().

◆ mPp

ParserPtr Entry::mPp

Definition at line 97 of file entry.h.

Referenced by IsAA(), and xInitSeqInst().

◆ mSections

list<SectionPtr> Entry::mSections

◆ mSeqEntry

CRef<objects::CSeq_entry> Entry::mSeqEntry

Definition at line 100 of file entry.h.

Referenced by xInitSeqInst().


The documentation for this struct was generated from the following files:
Modified on Fri Sep 20 14:57:15 2024 by modify_doxy.py rev. 669887