|
struct | BaseDiffConfig |
|
class | BinaryIndexStream |
| index implementation in a stream (intended for fstreams but any iostream works); find(string id) is O(logN); find(ordinal index) is O(1); memory footprint is negligible More...
|
|
struct | CalibrationParameters |
|
struct | CVParam |
| represents a tag-value pair, where the tag comes from the controlled vocabulary More...
|
|
struct | CVParamIs |
| functor for finding CVParam with specified exact CVID in a collection of CVParams: More...
|
|
struct | CVParamIsChildOf |
| functor for finding children of a specified CVID in a collection of CVParams: More...
|
|
class | CVTranslator |
| translates text to CV terms More...
|
|
struct | Diff |
| Calculate diffs of objects in a ProteoWizard data model hierarchy. More...
|
|
class | FrequencyData |
| Class for binary storage of complex frequency data. More...
|
|
class | Index |
| generic interface for creating and using an index on a stream of serialized objects More...
|
|
class | MemoryIndex |
| index implementation in memory; find(string id) is O(logN); find(ordinal index) is O(1); memory footprint is basically (number of entries * 2) More...
|
|
struct | OBO |
| Represents a selectively parsed OBO file. More...
|
|
struct | ParamContainer |
| The base class for elements that may contain cvParams, userParams, or paramGroup references. More...
|
|
struct | ParamGroup |
| A collection of CVParam and UserParam elements that can be referenced from elsewhere in this mzML document by using the 'paramGroupRef' element in that location to reference the 'id' attribute value of this element. More...
|
|
struct | SampleDatum |
|
struct | Term |
| a single controlled vocabulary term More...
|
|
struct | UserParam |
| Uncontrolled user parameters (essentially allowing free text). Before using these, one should verify whether there is an appropriate CV term available, and if so, use the CV term instead. More...
|
|
|
template<typename textwriter_type , typename diff_type > |
std::string | diff_string (const diff_type &diff) |
|
template<typename textwriter_type , typename object_type , typename config_type > |
std::ostream & | operator<< (std::ostream &os, const Diff< object_type, config_type > &diff) |
| stream insertion of Diff results
|
|
PWIZ_API_DECL std::ostream & | operator<< (std::ostream &os, const Term &term) |
|
PWIZ_API_DECL std::ostream & | operator<< (std::ostream &os, const OBO &obo) |
|
PWIZ_API_DECL std::ostream & | operator<< (std::ostream &os, const CVParam ¶m) |
|
std::ostream & | operator<< (std::ostream &os, const CalibrationParameters &p) |
|
template<typename abscissa_type , typename ordinate_type > |
bool | operator== (const SampleDatum< abscissa_type, ordinate_type > &a, const SampleDatum< abscissa_type, ordinate_type > &b) |
|
template<typename abscissa_type , typename ordinate_type > |
std::ostream & | operator<< (std::ostream &os, const SampleDatum< abscissa_type, ordinate_type > &datum) |
|
template<typename abscissa_type , typename ordinate_type > |
std::istream & | operator>> (std::istream &is, SampleDatum< abscissa_type, ordinate_type > &datum) |
|
template<typename abscissa_type , typename ordinate_type >
std::istream & pwiz::data::operator>> |
( |
std::istream & |
is, |
|
|
SampleDatum< abscissa_type, ordinate_type > & |
datum |
|
) |
| |
Definition at line 81 of file SampleDatum.hpp.
82{
83 std::string buffer;
84 is >> buffer;
85 if (!is) return is;
86
87 std::istringstream iss(buffer);
88
89 char open, separator, close;
92 iss >> open >>
x >> separator >>
y >> close;
93
94 if (open != SampleDatumConstant::open_ ||
95 separator != SampleDatumConstant::separator_ ||
96 close != SampleDatumConstant::close_)
97 throw std::runtime_error("[SampleDatum::operator>>] Invalid format.");
98
101
102 return is;
103}
KernelTraitsBase< Kernel >::space_type::abscissa_type x
KernelTraitsBase< Kernel >::space_type::ordinate_type y
References pwiz::data::SampleDatumConstant::close_, pwiz::data::SampleDatumConstant::open_, pwiz::data::SampleDatumConstant::separator_, pwiz::data::SampleDatum< abscissa_type, ordinate_type >::x, x, pwiz::data::SampleDatum< abscissa_type, ordinate_type >::y, and y.