/usr/include/libmstoolkit/MSObject.h is in libmstoolkit-dev 77.0.0-1+b3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #ifndef _MSOBJECT_H
#define _MSOBJECT_H
#include "MSToolkitTypes.h"
#include "Spectrum.h"
#include <string>
using namespace std;
namespace MSToolkit {
class MSObject {
public:
//Constructors & Destructors
MSObject();
MSObject(const MSObject&);
~MSObject();
//Operator Functions
MSObject& operator=(const MSObject&);
//Functions
void add(Spectrum&);
bool addToHeader(char*);
bool addToHeader(string);
Spectrum& at(unsigned int);
Peak_T& at(unsigned int, unsigned int);
void clear();
void erase(unsigned int);
void erase(unsigned int, unsigned int);
MSHeader& getHeader();
void setHeader(const MSHeader& h);
int size();
protected:
private:
vector<Spectrum> *vSpectrum;
string fileName;
MSHeader header;
MSSpectrumType fileType;
};
}
#endif
|