27 SamHeader(
const std::string& headerText = std::string());
31 std::string GetErrorString()
const;
32 bool HasError()
const;
33 bool IsValid(
bool verbose =
false)
const;
35 const std::string& headerText);
36 std::string ToString()
const;
39 bool HasVersion()
const;
40 bool HasSortOrder()
const;
41 bool HasGroupOrder()
const;
42 bool HasSequences()
const;
43 bool HasReadGroups()
const;
44 bool HasPrograms()
const;
45 bool HasComments()
const;
71 mutable std::string m_errorString;