00001 // -*- mode: c++; -*- 00002 // 00003 //The Biomolecule Toolkit (BTK) is a C++ library for use in the 00004 //modeling, analysis, and design of biological macromolecules. 00005 //Copyright (C) 2004, Christopher Saunders <ctsa@users.sourceforge.net> 00006 // 00007 //This program is free software; you can redistribute it and/or modify 00008 //it under the terms of the GNU Lesser General Public License as published 00009 //by the Free Software Foundation; either version 2.1 of the License, or (at 00010 //your option) any later version. 00011 // 00012 //This program is distributed in the hope that it will be useful, but 00013 //WITHOUT ANY WARRANTY; without even the implied warranty of 00014 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 //Lesser General Public License for more details. 00016 // 00017 //You should have received a copy of the GNU Lesser General Public License 00018 //along with this program; if not, write to the Free Software Foundation, 00019 //Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 // 00021 00022 00023 #ifndef BTK_PEPTIDE_FAMILY_PATTERN_H 00024 #define BTK_PEPTIDE_FAMILY_PATTERN_H 00025 00026 00027 #include "buildable_monomer_family_pattern.h" 00028 00029 00030 namespace BTK{ 00031 00033 // non-instantiatable (but not technically abstract) data class 00034 // defining the peptide family 00035 // group concept. 00036 // more detailed peptide patterns can be derived from this class 00037 // 00038 class PeptideFamilyPattern : public BuildableMonomerFamilyPattern{ 00039 typedef BuildableMonomerFamilyPattern base_type; 00040 typedef PeptideFamilyPattern self_type; 00041 public: 00042 typedef base_type::types types; 00043 00044 protected: 00047 PeptideFamilyPattern(); 00048 00049 virtual types::family_pattern_t& family_pattern() { 00050 return _family_pattern; 00051 } 00052 virtual const types::family_pattern_t& family_pattern() const { 00053 return _family_pattern; 00054 } 00055 00056 private: 00057 PeptideFamilyPattern(const self_type&); 00058 self_type& operator=(const self_type&); 00059 00060 types::family_pattern_t _family_pattern; 00061 }; 00062 00063 } // namespace BTK 00064 00065 #endif
1.3.6