| 1 |
#ifndef FASRESIDUE_H |
| 2 |
#define FASRESIDUE_H |
| 3 |
#include <iostream> |
| 4 |
#include <vector> |
| 5 |
|
| 6 |
using namespace std; |
| 7 |
|
| 8 |
class TFASModel; |
| 9 |
class TFASMolecule; |
| 10 |
class TFASAtom; |
| 11 |
class TFASBond; |
| 12 |
|
| 13 |
class TFASResidue |
| 14 |
{ |
| 15 |
protected: |
| 16 |
unsigned int _index; |
| 17 |
unsigned int _resid; |
| 18 |
vector<TFASAtom *> _atomList; |
| 19 |
TFASMolecule *_mol; |
| 20 |
TFASModel * _model; |
| 21 |
|
| 22 |
public: |
| 23 |
TFASResidue(); |
| 24 |
~TFASResidue(); |
| 25 |
|
| 26 |
//methods to set residue information |
| 27 |
void SetIndex(unsigned int index) { _index = index;} |
| 28 |
void SetResid(unsigned int resid) { _resid = resid;} |
| 29 |
void SetMol(TFASMolecule *mol) { _mol=mol;} |
| 30 |
void SetModel(TFASModel *model) { _model=model;} |
| 31 |
|
| 32 |
//methods to get residue information |
| 33 |
unsigned int GetIndex() { return _index;} |
| 34 |
unsigned int GetResid() { return _resid;} |
| 35 |
TFASMolecule *GetMol() { return _mol;} |
| 36 |
TFASModel *GetModel() { return _model;} |
| 37 |
|
| 38 |
//methods to manipulate atoms |
| 39 |
TFASAtom *BeginAtom(vector<TFASAtom *>::iteratorv &i); |
| 40 |
TFASAtom *NextAtom(vector<TFASAtom *>::iterator &i); |
| 41 |
void AddAtom(TFASAtom *atom); |
| 42 |
void DeleteAtom(TFASAtom *atom); |
| 43 |
|
| 44 |
//methods to manipulate bonds |
| 45 |
//vector<TBonds *> GetBonds(bool exterior = , TBondType bondType = ); |
| 46 |
|
| 47 |
}; |
| 48 |
|
| 49 |
#endif |