libStatGen Software  1
SamHeaderPG.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 __SAMHEADERPG_H__
00019 #define __SAMHEADERPG_H__
00020 
00021 #include <string>
00022 #include "SamHeaderRecord.h"
00023 
00024 class SamHeaderPG : public SamHeaderRecord
00025 {
00026 public:
00027     // Constructor
00028     SamHeaderPG();
00029    
00030     // Destructor
00031     virtual ~SamHeaderPG();
00032 
00033     /// Return a pointer to a newly created header record of the appropriate type
00034     /// that is a copy of this record. The newly created record will not be
00035     /// deleted by this class and it is the responsibility of the calling method
00036     /// to handle the deletion.
00037     /// Returns NULL on failure to copy.
00038     virtual SamHeaderRecord* createCopy() const;
00039 
00040 private:
00041     SamHeaderPG(const SamHeaderPG& samHeaderPG);
00042     SamHeaderPG& operator=(const SamHeaderPG& samHeaderPG);
00043 };
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends