ProteoWizard
|
Serializer_Text reads in and writes out an id file in tab format. More...
#include <Serializer_Text.hpp>
Classes | |
struct | Config |
< Controls the format of the text file. More... | |
Public Types | |
enum | IdField { None =0 , Scan =1 , Rt =2 , Mz =3 , Charge =4 , Score =5 , ScoreType =6 , Peptide =7 , Protein =8 , ProteinDescription =9 , Last =ProteinDescription } |
List of fields available. More... | |
Public Member Functions | |
Serializer_Text (const Config &config=Config()) | |
Constructor with Config. | |
void | write (std::ostream &os, const IdentData &mzid, const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0) const |
writes IdentData object to ostream as a text table | |
void | read (boost::shared_ptr< std::istream > is, IdentData &mzid) const |
read in IdentData object from a delimited text fromat. | |
Static Public Member Functions | |
static const std::string * | getIdFieldNames () |
Private Member Functions | |
Serializer_Text (Serializer_Text &) | |
Serializer_Text & | operator= (Serializer_Text &) |
Private Attributes | |
boost::shared_ptr< Impl > | impl_ |
Serializer_Text reads in and writes out an id file in tab format.
Definition at line 38 of file Serializer_Text.hpp.
List of fields available.
Enumerator | |
---|---|
None | |
Scan | |
Rt | |
Mz | |
Charge | |
Score | |
ScoreType | |
Peptide | |
Protein | |
ProteinDescription | |
Last |
Definition at line 42 of file Serializer_Text.hpp.
Constructor with Config.
|
private |
|
static |
void pwiz::identdata::Serializer_Text::write | ( | std::ostream & | os, |
const IdentData & | mzid, | ||
const pwiz::util::IterationListenerRegistry * | iterationListenerRegistry = 0 |
||
) | const |
writes IdentData object to ostream as a text table
Referenced by testSerializeWrite().
void pwiz::identdata::Serializer_Text::read | ( | boost::shared_ptr< std::istream > | is, |
IdentData & | mzid | ||
) | const |
read in IdentData object from a delimited text fromat.
Referenced by testSerializeRead().
|
private |
|
private |
Definition at line 84 of file Serializer_Text.hpp.