X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FSamProgram.h;h=54da8723ca04dd0c263a14c47130aad412dd61c7;hb=25a2a1f6598b6452455da96c28a7f58fd9e7ed2d;hp=97a9ae5069e13d335adb1db2f56955eb035630a7;hpb=c1fc1c5423ca73a1b5bcbe790650821d73e5959c;p=bamtools.git diff --git a/src/api/SamProgram.h b/src/api/SamProgram.h index 97a9ae5..54da872 100644 --- a/src/api/SamProgram.h +++ b/src/api/SamProgram.h @@ -2,7 +2,7 @@ // SamProgram.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- -// Last modified: 19 April 2011 (DB) +// Last modified: 10 October 2011 (DB) // --------------------------------------------------------------------------- // Provides direct read/write access to the SAM header program records. // *************************************************************************** @@ -26,21 +26,21 @@ struct API_EXPORT SamProgram { ~SamProgram(void); // query/modify entire program record - void Clear(void); // clears all data fields + void Clear(void); // clears all data fields // convenience query methods - bool HasCommandLine(void) const; // returns true if program record has a command line entry - bool HasID(void) const; // returns true if program record has an ID - bool HasName(void) const; // returns true if program record has a name - bool HasPreviousProgramID(void) const; // returns true if program record has a 'previous program ID' - bool HasVersion(void) const; // returns true if program record has a version + bool HasCommandLine(void) const; // returns true if program record has a command line entry + bool HasID(void) const; // returns true if program record has an ID + bool HasName(void) const; // returns true if program record has a name + bool HasPreviousProgramID(void) const; // returns true if program record has a 'previous program ID' + bool HasVersion(void) const; // returns true if program record has a version // data members - std::string CommandLine; // CL: - std::string ID; // ID: *Required for valid SAM header* - std::string Name; // PN: - std::string PreviousProgramID; // PP: - std::string Version; // VN: + std::string CommandLine; // CL: + std::string ID; // ID: *Required for valid SAM header* + std::string Name; // PN: + std::string PreviousProgramID; // PP: + std::string Version; // VN: // internal (non-standard) methods & fields private: