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

group_types.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 
00022 #ifndef BTK_GROUP_TYPES_H
00023 #define BTK_GROUP_TYPES_H
00024 
00025 #include <string>
00026 
00027 // enumerator for names of buildable atom groups, including monomer families
00028 // and molecules
00029 //
00030 
00031 namespace BTK{
00032   namespace GROUP { 
00033     enum index_t {
00034       UNKNOWN = -1,
00035       MOLECULE,
00036       MONOMER,
00037       ALA,CYS,ASP,GLU,PHE,
00038       GLY,HSE,HSD,HSP,HIS,
00039       ILE,LYS,LEU,MET,ASN,
00040       PRO,GLN,ARG,SER,THR,
00041       VAL,TRP,TYR,
00042       SIZE
00043     };
00044 
00045     index_t name3_to_index(const std::string& s) ;
00046 
00047     const std::string& index_to_name3(index_t i) ; 
00048 
00049     char index_to_name1(index_t i) ;
00050   }
00051 } 
00052 
00053 #endif
00054 
00055 
00056 
00057 

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