libStatGen Software  1
SamHeaderHD.h
00001 /*
00002  *  Copyright (C) 2010  Regents of the University of Michigan
00003  *
00004  *   This program is free software: you can redistribute it and/or modify
00005  *   it under the terms of the GNU General Public License as published by
00006  *   the Free Software Foundation, either version 3 of the License, or
00007  *   (at your option) any later version.
00008  *
00009  *   This program is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *   GNU General Public License for more details.
00013  *
00014  *   You should have received a copy of the GNU General Public License
00015  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 #ifndef __SAMHEADERHD_H__
00019 #define __SAMHEADERHD_H__
00020 
00021 #include "SamHeaderRecord.h"
00022 
00023 class SamHeaderHD : public SamHeaderRecord
00024 {
00025 public:
00026     // Constructor
00027     SamHeaderHD();
00028    
00029     // Destructor
00030     virtual ~SamHeaderHD();
00031 
00032     const char* getSortOrder();
00033 
00034     /// Return a pointer to a newly created header record of the appropriate type
00035     /// that is a copy of this record. The newly created record will not be
00036     /// deleted by this class and it is the responsibility of the calling method
00037     /// to handle the deletion.
00038     /// Returns NULL on failure to copy.
00039     virtual SamHeaderRecord* createCopy() const;
00040 
00041 private:
00042     SamHeaderHD(const SamHeaderHD& samHeaderHD);
00043     SamHeaderHD& operator=(const SamHeaderHD& samHeaderHD);
00044 };
00045 
00046 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends