- public:
- SamReadGroup(void);
- SamReadGroup(const std::string& id);
- SamReadGroup(const SamReadGroup& other);
- ~SamReadGroup(void);
-
- // public methods
- public:
-
- // clear all contents
- void Clear(void);
-
- // convenience methods to check if SamReadGroup contains these values:
- bool HasID(void) const;
- bool HasSample(void) const;
- bool HasLibrary(void) const;
- bool HasDescription(void) const;
- bool HasPlatformUnit(void) const;
- bool HasPredictedInsertSize(void) const;
- bool HasSequencingCenter(void) const;
- bool HasProductionDate(void) const;
- bool HasSequencingTechnology(void) const;
+ SamReadGroup(void);
+ SamReadGroup(const std::string& id);
+ SamReadGroup(const SamReadGroup& other);
+ ~SamReadGroup(void);
+
+ // query/modify entire read group
+ void Clear(void); // clears all data fields
+
+ // convenience query methods
+ bool HasID(void) const; // returns true if read group has a group ID
+ bool HasSample(void) const; // returns true if read group has a sample name
+ bool HasLibrary(void) const; // returns true if read group has a library name
+ bool HasDescription(void) const; // returns true if read group has a description
+ bool HasPlatformUnit(void) const; // returns true if read group has a platform unit ID
+ bool HasPredictedInsertSize(void) const; // returns true if read group has a predicted insert size
+ bool HasSequencingCenter(void) const; // returns true if read group has a sequencing center ID
+ bool HasProductionDate(void) const; // returns true if read group has a production date
+ bool HasSequencingTechnology(void) const; // returns true if read group has a sequencing technology ID