NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CGff3ImportData Class Reference

Search Toolkit Book for CGff3ImportData

#include "gff3_import_data.hpp"
(Private to src/objtools/import/ftable.)

+ Inheritance diagram for CGff3ImportData:
+ Collaboration diagram for CGff3ImportData:

Public Types

using ATTRIBUTES = std::map< std::string, std::vector< std::string > >
 

Public Member Functions

 CGff3ImportData (const CIdResolver &, CImportMessageHandler &)
 
 CGff3ImportData (const CGff3ImportData &rhs)
 
virtual ~CGff3ImportData ()
 
void Initialize (const std::string &, const std::string &, const std::string &, TSeqPos, TSeqPos, bool, double, ENa_strand, const std::string &, const std::vector< std::pair< std::string, std::string >> &)
 
virtual void Serialize (CNcbiOstream &) override
 
CRef< CSeq_featGetData () const
 
std::string Id () const
 
std::string Parent () const
 
std::string Source () const
 
bool HasScore () const
 
double Score () const
 
- Public Member Functions inherited from CFeatImportData
 CFeatImportData (const CIdResolver &, CImportMessageHandler &)
 
 CFeatImportData (const CFeatImportData &rhs)
 
virtual ~CFeatImportData ()
 

Private Member Functions

void xInitializeAttributes (const std::vector< std::pair< std::string, std::string >> &)
 
bool xInitializeDbxref (const std::string &, const std::string &)
 
bool xInitializeComment (const std::string &, const std::string &)
 
bool xInitializeDataGene (const std::string &, const std::string &)
 
bool xInitializeDataRna (const std::string &, const std::string &)
 
bool xInitializeDataCds (const std::string &, const std::string &)
 
bool xInitializeMultiValue (const std::string &, const std::string &)
 

Private Attributes

CRef< CSeq_featmpFeat
 
string mId
 
string mParent
 
string mSource
 
unique_ptr< double > mpScore
 

Additional Inherited Members

- Protected Attributes inherited from CFeatImportData
const CIdResolvermIdResolver
 
CImportMessageHandlermErrorReporter
 

Detailed Description

Definition at line 52 of file gff3_import_data.hpp.

Member Typedef Documentation

◆ ATTRIBUTES

using CGff3ImportData::ATTRIBUTES = std::map<std::string, std::vector<std::string> >

Definition at line 57 of file gff3_import_data.hpp.

Constructor & Destructor Documentation

◆ CGff3ImportData() [1/2]

CGff3ImportData::CGff3ImportData ( const CIdResolver idResolver,
CImportMessageHandler errorReporter 
)

Definition at line 54 of file gff3_import_data.cpp.

◆ CGff3ImportData() [2/2]

CGff3ImportData::CGff3ImportData ( const CGff3ImportData rhs)

Definition at line 63 of file gff3_import_data.cpp.

◆ ~CGff3ImportData()

virtual CGff3ImportData::~CGff3ImportData ( )
inlinevirtual

Definition at line 66 of file gff3_import_data.hpp.

Member Function Documentation

◆ GetData()

CRef< CSeq_feat > CGff3ImportData::GetData ( void  ) const

Definition at line 332 of file gff3_import_data.cpp.

References mpFeat.

Referenced by CGff3AnnotAssembler::ProcessRecord().

◆ HasScore()

bool CGff3ImportData::HasScore ( ) const
inline

Definition at line 96 of file gff3_import_data.hpp.

References mpScore.

Referenced by Score().

◆ Id()

std::string CGff3ImportData::Id ( void  ) const
inline

Definition at line 87 of file gff3_import_data.hpp.

References mId.

Referenced by CGff3AnnotAssembler::ProcessRecord().

◆ Initialize()

void CGff3ImportData::Initialize ( const std::string ,
const std::string ,
const std::string ,
TSeqPos  ,
TSeqPos  ,
bool  ,
double  ,
ENa_strand  ,
const std::string ,
const std::vector< std::pair< std::string, std::string >> &   
)

◆ Parent()

std::string CGff3ImportData::Parent ( ) const
inline

Definition at line 90 of file gff3_import_data.hpp.

References mParent.

Referenced by CGff3AnnotAssembler::ProcessRecord().

◆ Score()

double CGff3ImportData::Score ( ) const
inline

Definition at line 99 of file gff3_import_data.hpp.

References HasScore(), and mpScore.

◆ Serialize()

void CGff3ImportData::Serialize ( CNcbiOstream out)
overridevirtual

Reimplemented from CFeatImportData.

Definition at line 321 of file gff3_import_data.cpp.

References out().

◆ Source()

std::string CGff3ImportData::Source ( ) const
inline

Definition at line 93 of file gff3_import_data.hpp.

References mSource.

◆ xInitializeAttributes()

void CGff3ImportData::xInitializeAttributes ( const std::vector< std::pair< std::string, std::string >> &  )
private

◆ xInitializeComment()

bool CGff3ImportData::xInitializeComment ( const std::string key,
const std::string value 
)
private

◆ xInitializeDataCds()

bool CGff3ImportData::xInitializeDataCds ( const std::string key,
const std::string value 
)
private

◆ xInitializeDataGene()

bool CGff3ImportData::xInitializeDataGene ( const std::string key,
const std::string value 
)
private

◆ xInitializeDataRna()

bool CGff3ImportData::xInitializeDataRna ( const std::string key,
const std::string value 
)
private

◆ xInitializeDbxref()

bool CGff3ImportData::xInitializeDbxref ( const std::string key,
const std::string value 
)
private

◆ xInitializeMultiValue()

bool CGff3ImportData::xInitializeMultiValue ( const std::string key,
const std::string value 
)
private

Member Data Documentation

◆ mId

string CGff3ImportData::mId
private

Definition at line 129 of file gff3_import_data.hpp.

Referenced by Id(), and xInitializeAttributes().

◆ mParent

string CGff3ImportData::mParent
private

Definition at line 130 of file gff3_import_data.hpp.

Referenced by Parent(), and xInitializeAttributes().

◆ mpFeat

CRef<CSeq_feat> CGff3ImportData::mpFeat
private

◆ mpScore

unique_ptr<double> CGff3ImportData::mpScore
private

Definition at line 132 of file gff3_import_data.hpp.

Referenced by HasScore(), Initialize(), and Score().

◆ mSource

string CGff3ImportData::mSource
private

Definition at line 131 of file gff3_import_data.hpp.

Referenced by Initialize(), and Source().


The documentation for this class was generated from the following files:
Modified on Mon Apr 22 04:01:39 2024 by modify_doxy.py rev. 669887