SamReadGroup.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SAM_READGROUP_H
00011 #define SAM_READGROUP_H
00012
00013 #include "api/api_global.h"
00014 #include <string>
00015
00016 namespace BamTools {
00017
00018 struct API_EXPORT SamReadGroup {
00019
00020
00021 SamReadGroup(void);
00022 SamReadGroup(const std::string& id);
00023 SamReadGroup(const SamReadGroup& other);
00024 ~SamReadGroup(void);
00025
00026
00027 void Clear(void);
00028
00029
00030 bool HasDescription(void) const;
00031 bool HasFlowOrder(void) const;
00032 bool HasID(void) const;
00033 bool HasKeySequence(void) const;
00034 bool HasLibrary(void) const;
00035 bool HasPlatformUnit(void) const;
00036 bool HasPredictedInsertSize(void) const;
00037 bool HasProductionDate(void) const;
00038 bool HasProgram(void) const;
00039 bool HasSample(void) const;
00040 bool HasSequencingCenter(void) const;
00041 bool HasSequencingTechnology(void) const;
00042
00043
00044
00045 std::string Description;
00046 std::string FlowOrder;
00047 std::string ID;
00048 std::string KeySequence;
00049 std::string Library;
00050 std::string PlatformUnit;
00051 std::string PredictedInsertSize;
00052 std::string ProductionDate;
00053 std::string Program;
00054 std::string Sample;
00055 std::string SequencingCenter;
00056 std::string SequencingTechnology;
00057 };
00058
00062 API_EXPORT inline bool operator==(const SamReadGroup& lhs, const SamReadGroup& rhs) {
00063 return lhs.ID == rhs.ID;
00064 }
00065
00066 }
00067
00068 #endif // SAM_READGROUP_H