TagInfo Class Reference

#include <featureinfo.h>

Inheritance diagram for TagInfo:

Inheritance graph
[legend]
Collaboration diagram for TagInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TagInfo (SpatialFeatureData *data)
std::string myInfoPos (TR_DNA pos)

Private Member Functions

TagDatatagData ()

Detailed Description

Definition at line 79 of file featureinfo.h.


Constructor & Destructor Documentation

TagInfo::TagInfo ( SpatialFeatureData data  )  [inline]

Definition at line 82 of file featureinfo.h.

00082 : FeatureInfo(data) {}


Member Function Documentation

std::string TagInfo::myInfoPos ( TR_DNA  pos  )  [virtual]

Reimplemented from FeatureInfo.

Definition at line 103 of file featureinfo.cc.

References TagData::getInfo(), TagData::getScore(), tagData(), and TagData::uniqueName().

00104 {
00105   
00106   ostringstream os;
00107 
00108   os<<tagData()->uniqueName()<< " Info: "<< tagData()->getInfo()<<" Score: "<<tagData()->getScore();
00109   
00110   
00111   return os.str();
00112 }

TagData * TagInfo::tagData (  )  [private]

Definition at line 114 of file featureinfo.cc.

References FeatureInfo::m_data.

Referenced by myInfoPos().

00115 {
00116     return dynamic_cast<TagData *>( m_data );
00117 }


The documentation for this class was generated from the following files:
Generated on Fri Jul 17 20:19:53 2009 for ngsview by  doxygen 1.5.1