Represents a object which can store the information of an analysisXML instance. More...
#include <OpenMS/METADATA/Identification.h>
Public Member Functions | |
constructors,destructors,assignment operator | |
| Identification () | |
| default constructor | |
| virtual | ~Identification () |
| destructor | |
| Identification (const Identification &source) | |
| copy constructor | |
| Identification & | operator= (const Identification &source) |
| assignment operator | |
| bool | operator== (const Identification &rhs) const |
| Equality operator. | |
| bool | operator!= (const Identification &rhs) const |
| Inequality operator. | |
Accessors | |
| void | setCreationDate (const DateTime &date) |
| sets the date and time the file was written | |
| const DateTime & | getCreationDate () const |
| returns the date and time the file was created | |
| void | setSpectrumIdentifications (const std::vector< SpectrumIdentification > &ids) |
| sets the spectrum identifications | |
| void | addSpectrumIdentification (const SpectrumIdentification &id) |
| adds a spectrum identification | |
| const std::vector < SpectrumIdentification > & | getSpectrumIdentifications () const |
| returns the spectrum identifications stored | |
Protected Attributes | |
| String | id_ |
| Identifier. | |
| DateTime | creation_date_ |
| Date and time the search was performed. | |
| std::vector < SpectrumIdentification > | spectrum_identifications_ |
Represents a object which can store the information of an analysisXML instance.
| Identification | ( | ) |
default constructor
| virtual ~Identification | ( | ) | [virtual] |
destructor
| Identification | ( | const Identification & | source | ) |
copy constructor
| void addSpectrumIdentification | ( | const SpectrumIdentification & | id | ) |
adds a spectrum identification
| const DateTime& getCreationDate | ( | ) | const |
returns the date and time the file was created
| const std::vector<SpectrumIdentification>& getSpectrumIdentifications | ( | ) | const |
returns the spectrum identifications stored
| bool operator!= | ( | const Identification & | rhs | ) | const |
Inequality operator.
| Identification& operator= | ( | const Identification & | source | ) |
assignment operator
| bool operator== | ( | const Identification & | rhs | ) | const |
Equality operator.
| void setCreationDate | ( | const DateTime & | date | ) |
sets the date and time the file was written
| void setSpectrumIdentifications | ( | const std::vector< SpectrumIdentification > & | ids | ) |
sets the spectrum identifications
DateTime creation_date_ [protected] |
Date and time the search was performed.
std::vector<SpectrumIdentification> spectrum_identifications_ [protected] |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:56 using doxygen 1.7.1 |