#include <featuredata.h>
Inheritance diagram for QualityData:
Public Member Functions | |
QualityData () | |
QualityData (db_recno_t readRecno, TR_DNA startPos, TR_DNA endPos, int) | |
std::string | uniqueName () |
virtual | ~QualityData () |
int | quality (int pos) |
void | readStream (QDataStream &str) |
void | writeStream (QDataStream &str) |
void | writeDom (QDomElement &elem) |
void | readDom (QDomElement &elem) |
void | readAttributes (const QXmlAttributes &attr) |
void | writeXml (ostream &stream) |
Public Attributes | |
TrapperVector< Q_UINT32 > | qualityVector |
Protected Member Functions | |
FeatureGui * | makeGui () |
FeatureInfo * | makeInfo () |
Definition at line 176 of file featuredata.h.
|
Definition at line 179 of file featuredata.h. 00179 : FeatureData() 00180 { 00181 00182 }
|
|
Definition at line 431 of file featuredata.cpp. 00431 : 00432 FeatureData( readRecno, startPos, endPos )//, m_quality( quality_ ) 00433 {}
|
|
Definition at line 188 of file featuredata.h.
|
|
Implements FeatureData. Definition at line 202 of file featuredata.h. 00202 { return new QualityGui(this); }
|
|
Reimplemented from FeatureData. Definition at line 203 of file featuredata.h. 00203 { return new QualityInfo(this); }
|
|
Definition at line 191 of file featuredata.h. References qualityVector, and TrapperVector< T >::stlVector(). 00191 { return qualityVector.stlVector()[pos]; }
|
|
Loads the state of this object from QXmlAttributes.This method is used for importing. Reimplemented from FeatureData. Definition at line 295 of file featuredata.cpp. References qualityVector, TrapperVector< T >::readAttributes(), and FeatureData::readAttributes(). 00296 { 00297 FeatureData::readAttributes(attr); 00298 qualityVector.readAttributes(attr); 00299 }
|
|
Loads the state of this object from a dom tree. Or in other words reads in the values of the data members of this class from a dom tree underneath the QDomElement elem. This method is used for importing. Reimplemented from FeatureData. Definition at line 289 of file featuredata.cpp. References qualityVector, TrapperVector< T >::readDom(), and FeatureData::readDom(). 00290 { 00291 FeatureData::readDom( elem ); 00292 qualityVector.readDom( elem ); 00293 }
|
|
Loads the state of this object from a byte stream. Or in other words reads and unserializes a byte stream to set the values of this class object. This method is used for loading a GeneralData object from Berkeley Db. Reimplemented from FeatureData. Definition at line 271 of file featuredata.cpp. References qualityVector, and FeatureData::readStream(). 00272 { 00273 FeatureData::readStream( stream ); 00274 stream >> qualityVector; 00275 }
|
|
Specifies a name that uniquely should identify this class. It will be used for lookups in the GeneralMaker class. Implements GeneralData. Definition at line 184 of file featuredata.h.
|
|
Saves the state of this object to a dom tree. Or in other words writes out the internal data held in this class to a dom tree underneath the QDomElement elem. This method is used for exporting. Reimplemented from FeatureData. Definition at line 283 of file featuredata.cpp. References qualityVector, TrapperVector< T >::writeDom(), and FeatureData::writeDom(). 00284 { 00285 FeatureData::writeDom( elem ); 00286 qualityVector.writeDom( elem ); 00287 }
|
|
Saves the state of this object to a byte stream. Or in other words serializes and writes the internal data held in this class object to a byte stream. This method is used for storing a GeneralData object into Berkeley Db. Reimplemented from FeatureData. Definition at line 277 of file featuredata.cpp. References qualityVector, and FeatureData::writeStream(). 00278 { 00279 FeatureData::writeStream( stream ); 00280 stream << qualityVector; 00281 }
|
|
Reimplemented from FeatureData. Definition at line 301 of file featuredata.cpp. References qualityVector, TrapperVector< T >::stlVector(), and FeatureData::writeXml(). 00302 { 00303 FeatureData::writeXml(stream); 00304 stream<<" trappervector=\""; 00305 for( size_t i = 0; i < qualityVector.stlVector().size(); i++ ) { 00306 stream<<' '<<qualityVector.stlVector()[i]; 00307 } 00308 stream<<"\"/>\n"; 00309 }
|
|
Definition at line 199 of file featuredata.h. Referenced by QualityInfo::myInfoPos(), QualityGui::paintMe(), quality(), readAttributes(), readDom(), readStream(), writeDom(), writeStream(), and writeXml(). |