ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/FAS/src/fasmodel.h
Revision: 86
Committed: Fri Aug 16 17:02:19 2002 UTC (21 years, 10 months ago) by tim
Content type: text/plain
File size: 1845 byte(s)
Log Message:
*** empty log message ***

File Contents

# Content
1 /**********************************************************************
2 * Copyright (C) 2002-2003 by Gezelter's Group
3 *This program is free software; you can redistribute it and/or modify
4 *it under the terms of the GNU General Public License as published by
5 *the Free Software Foundation version 2 of the License.
6 *
7 *This program is distributed in the hope that it will be useful,
8 *but WITHOUT ANY WARRANTY; without even the implied warranty of
9 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 *GNU General Public License for more details.
11 *
12 ************************************************************************
13 *Author: Teng Lin Email: tlin@nd.edu
14 *Date: 08/13/2002 Version: 1.0
15 *
16 ************************************************************************
17 *Description:
18 *
19 ***********************************************************************/
20 #ifndef FASMOL_H
21 #define FASMOL_H
22
23 #include <iostream>
24 #include <vector>
25 #include <string>
26 #include "keylist.h"
27 #include "animation.h"
28 using namespace std;
29
30 class TFASAtom;
31 class TFASResidue;
32 class TFASBond;
33 class TFASMolecule;
34
35 class TFASModel : public TAnimation
36 {
37 protected:
38 string _modelName;
39 unsigned int _natoms;
40 unsigned int _nbonds;
41 unsigned int _nresidues;
42 unsigned int _nmols;
43
44 vector<TFASAtom *> _atomList;
45 vector<TFASResidue *> _resList;
46 vector<TFASBond *> _bondList;
47 vector<TFASMolecule *> _molList;
48
49 TNameList _atomNames;
50 TNameList _atomTypes;
51 TNameList _resNames;
52 TNameList _resIds;
53 TNameList _chainNames;
54 TNameList _segNames;
55
56 public:
57
58 TFASModel();
59 ~TFASModel();
60
61 string GetModelName() { return _modelName;}
62 void SetModelName(string modelName) { _modelName = modelName;}
63 void SetModelName(char * modelName) {_modelName = modelName;}
64
65 void FindMolecules();
66 };
67
68
69 #endif