ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/FAS/src/fasmodel.h
(Generate patch)

Comparing trunk/FAS/src/fasmodel.h (file contents):
Revision 66 by tim, Tue Aug 13 16:02:26 2002 UTC vs.
Revision 86 by tim, Fri Aug 16 17:02:19 2002 UTC

# Line 1 | Line 1
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 "namelist.h"
27 <
26 > #include "keylist.h"
27 > #include "animation.h"
28   using namespace std;
29  
30   class TFASAtom;
# Line 13 | Line 32 | class TFASModel
32   class TFASBond;
33   class TFASMolecule;
34  
35 < class TFASModel
35 > class TFASModel : public TAnimation
36   {
37          protected:
38            string _modelName;
# Line 27 | Line 46 | class TFASModel
46                  vector<TFASBond *> _bondList;
47                  vector<TFASMolecule *> _molList;
48                  
49 <                NameList<int> _atomNames;
50 <                NameList<int> _atomTypes;
51 <                NameList<int> _resNames;
52 <                NameList<int> _resIds;
53 <                NameList<int> _chainNames;
54 <                NameList<int> _segNames;
55 <                
49 >                TNameList _atomNames;
50 >                TNameList _atomTypes;
51 >                TNameList _resNames;
52 >                TNameList _resIds;
53 >                TNameList _chainNames;
54 >                TNameList _segNames;
55 >
56          public:
57 <        
57 >
58                  TFASModel();
59                  ~TFASModel();
60 <                
60 >
61                  string GetModelName() { return _modelName;}
62                  void SetModelName(string modelName) { _modelName = modelName;}
63 <                void SetModelName(char * modelName) {_modelName = new string(modelName);}
63 >                void SetModelName(char * modelName) {_modelName = modelName;}
64                  
65                  void FindMolecules();
66   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines