NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CTrackData Class Reference

Search Toolkit Book for CTrackData

#include <objtools/readers/track_data.hpp>

+ Collaboration diagram for CTrackData:

Public Types

typedef std::vector< std::stringLineData
 
typedef std::map< const std::string, std::stringTrackData
 

Public Member Functions

 CTrackData ()
 
 ~CTrackData ()
 
bool ParseLine (const LineData &)
 
const TrackDataValues () const
 
bool WriteToAnnot (CSeq_annot &)
 
bool ContainsData () const
 
string Type () const
 
string Description () const
 
string Name () const
 
int Offset () const
 
string ValueOf (const std::string &) const
 

Static Public Member Functions

static bool IsTrackData (const LineData &)
 

Protected Attributes

TrackData mData
 

Detailed Description

Definition at line 40 of file track_data.hpp.

Member Typedef Documentation

◆ LineData

typedef std::vector<std::string> CTrackData::LineData

Definition at line 44 of file track_data.hpp.

◆ TrackData

Definition at line 45 of file track_data.hpp.

Constructor & Destructor Documentation

◆ CTrackData()

CTrackData::CTrackData ( )

Definition at line 52 of file track_data.cpp.

◆ ~CTrackData()

CTrackData::~CTrackData ( )
inline

Definition at line 48 of file track_data.hpp.

Member Function Documentation

◆ ContainsData()

bool CTrackData::ContainsData ( ) const
inline

Definition at line 56 of file track_data.hpp.

◆ Description()

string CTrackData::Description ( ) const
inline

Definition at line 60 of file track_data.hpp.

Referenced by WriteToAnnot().

◆ IsTrackData()

bool CTrackData::IsTrackData ( const LineData linedata)
static

Definition at line 59 of file track_data.cpp.

Referenced by ParseLine(), and CReaderBase::xParseTrackLine().

◆ Name()

string CTrackData::Name ( ) const
inline

Definition at line 61 of file track_data.hpp.

Referenced by WriteToAnnot().

◆ Offset()

int CTrackData::Offset ( ) const

Definition at line 89 of file track_data.cpp.

References offset, NStr::StringToInt(), and ValueOf().

◆ ParseLine()

bool CTrackData::ParseLine ( const LineData linedata)

◆ Type()

string CTrackData::Type ( void  ) const
inline

Definition at line 59 of file track_data.hpp.

◆ ValueOf()

string CTrackData::ValueOf ( const std::string ) const

Definition at line 100 of file track_data.cpp.

References ncbi::grid::netcache::search::fields::key.

Referenced by Offset().

◆ Values()

const TrackData& CTrackData::Values ( ) const
inline

Definition at line 53 of file track_data.hpp.

Referenced by WriteToAnnot().

◆ WriteToAnnot()

bool CTrackData::WriteToAnnot ( CSeq_annot annot)

Member Data Documentation

◆ mData

TrackData CTrackData::mData
protected

Definition at line 68 of file track_data.hpp.

Referenced by ParseLine().


The documentation for this class was generated from the following files:
Modified on Mon Feb 26 04:02:55 2024 by modify_doxy.py rev. 669887