1 // ***************************************************************************
2 // SamHeaderValidator.h (c) 2010 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // All rights reserved.
5 // ---------------------------------------------------------------------------
6 // Last modified: 23 December 2010 (DB)
7 // ---------------------------------------------------------------------------
8 // Provides functionality for validating SamHeader data
9 // ***************************************************************************
11 #ifndef SAM_HEADER_VALIDATOR_P_H
12 #define SAM_HEADER_VALIDATOR_P_H
18 // This file is not part of the BamTools API. It exists purely as an
19 // implementation detail. This header file may change from version to version
20 // without notice, or even be removed.
33 class SamHeaderValidator {
36 SamHeaderValidator(const BamTools::SamHeader& header);
37 ~SamHeaderValidator(void);
40 // validates SamHeader data
41 // prints error & warning messages to stderr when (verbose == true)
42 bool Validate(bool verbose = false);
45 struct SamHeaderValidatorPrivate;
46 SamHeaderValidatorPrivate* d;
49 } // namespace Internal
50 } // namespace BamTools
52 #endif // SAM_HEADER_VALIDATOR_P_H