X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FSamSequence.h;h=c1a8792065df16bdd1a10ba46f90b540ba7b6c95;hb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;hp=6f1a2ab0808e726bf27c41103dfd2ff571895dd8;hpb=1a93ff03d7e40d97c32e6f5966045ceaeb2f038a;p=bamtools.git diff --git a/src/api/SamSequence.h b/src/api/SamSequence.h index 6f1a2ab..c1a8792 100644 --- a/src/api/SamSequence.h +++ b/src/api/SamSequence.h @@ -2,7 +2,7 @@ // SamSequence.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- -// Last modified: 18 April 2011 (DB) +// Last modified: 10 October 2011 (DB) // --------------------------------------------------------------------------- // Provides direct read/write access to the SAM sequence data fields. // *************************************************************************** @@ -10,7 +10,7 @@ #ifndef SAM_SEQUENCE_H #define SAM_SEQUENCE_H -#include +#include "api/api_global.h" #include namespace BamTools { @@ -25,23 +25,23 @@ struct API_EXPORT SamSequence { ~SamSequence(void); // query/modify entire sequence - void Clear(void); // clears all contents + void Clear(void); // clears all contents // convenience query methods - bool HasAssemblyID(void) const; // returns true if sequence has an assembly ID - bool HasChecksum(void) const; // returns true if sequence has an MD5 checksum - bool HasLength(void) const; // returns true if sequence has a length - bool HasName(void) const; // returns true if sequence has a name - bool HasSpecies(void) const; // returns true if sequence has a species ID - bool HasURI(void) const; // returns true if sequence has a URI + bool HasAssemblyID(void) const; // returns true if sequence has an assembly ID + bool HasChecksum(void) const; // returns true if sequence has an MD5 checksum + bool HasLength(void) const; // returns true if sequence has a length + bool HasName(void) const; // returns true if sequence has a name + bool HasSpecies(void) const; // returns true if sequence has a species ID + bool HasURI(void) const; // returns true if sequence has a URI // data members - std::string AssemblyID; // AS: - std::string Checksum; // M5: - std::string Length; // LN: *Required for valid SAM header* - std::string Name; // SN: *Required for valid SAM header* - std::string Species; // SP: - std::string URI; // UR: + std::string AssemblyID; // AS: + std::string Checksum; // M5: + std::string Length; // LN: *Required for valid SAM header* + std::string Name; // SN: *Required for valid SAM header* + std::string Species; // SP: + std::string URI; // UR: }; /*! \fn bool operator==(const SamSequence& lhs, const SamSequence& rhs)