1 |
tim |
66 |
#ifndef FASMOL_H |
2 |
|
|
#define FASMOL_H |
3 |
|
|
|
4 |
|
|
#include <iostream> |
5 |
|
|
#include <vector> |
6 |
|
|
#include <string> |
7 |
|
|
#include "namelist.h" |
8 |
|
|
|
9 |
|
|
using namespace std; |
10 |
|
|
|
11 |
|
|
class TFASAtom; |
12 |
|
|
class TFASResidue; |
13 |
|
|
class TFASBond; |
14 |
|
|
class TFASMolecule; |
15 |
|
|
|
16 |
|
|
class TFASModel |
17 |
|
|
{ |
18 |
|
|
protected: |
19 |
|
|
string _modelName; |
20 |
|
|
unsigned int _natoms; |
21 |
|
|
unsigned int _nbonds; |
22 |
|
|
unsigned int _nresidues; |
23 |
|
|
unsigned int _nmols; |
24 |
|
|
|
25 |
|
|
vector<TFASAtom *> _atomList; |
26 |
|
|
vector<TFASResidue *> _resList; |
27 |
|
|
vector<TFASBond *> _bondList; |
28 |
|
|
vector<TFASMolecule *> _molList; |
29 |
|
|
|
30 |
|
|
NameList<int> _atomNames; |
31 |
|
|
NameList<int> _atomTypes; |
32 |
|
|
NameList<int> _resNames; |
33 |
|
|
NameList<int> _resIds; |
34 |
|
|
NameList<int> _chainNames; |
35 |
|
|
NameList<int> _segNames; |
36 |
|
|
|
37 |
|
|
public: |
38 |
|
|
|
39 |
|
|
TFASModel(); |
40 |
|
|
~TFASModel(); |
41 |
|
|
|
42 |
|
|
string GetModelName() { return _modelName;} |
43 |
|
|
void SetModelName(string modelName) { _modelName = modelName;} |
44 |
|
|
void SetModelName(char * modelName) {_modelName = new string(modelName);} |
45 |
|
|
|
46 |
|
|
void FindMolecules(); |
47 |
|
|
}; |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
#endif |