Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

atom_group_concept.h

Go to the documentation of this file.
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 
00025 
00026 
00027 #ifndef BTK_ATOM_GROUP_CONCEPT_H
00028 #define BTK_ATOM_GROUP_CONCEPT_H
00029 
00030 
00031 #include "group_types.h"
00032 #include "group_variant_types.h"
00033 
00034 #include <set>
00035 #include <string>
00036 
00037 namespace BTK {
00038 
00042   struct AtomGroupConcept {
00045     typedef std::set<GROUP_VARIANT::index_t> group_variant_container_t;
00046 
00047     virtual GROUP::index_t group_index() const = 0;
00048     virtual const group_variant_container_t& group_variant_codes() const = 0;
00049     virtual const std::string& group_name3() const = 0;
00050     virtual int group_num() const = 0; 
00051   };
00052 
00053 } 
00054 
00055 
00056 #endif 

Generated on Wed Apr 14 00:43:16 2004 for BTK by doxygen 1.3.6