mFES - molecular Finite Element Solver
0.4
|
00001 00011 #include "Charge.h" 00012 #include <vector> 00013 #include <string> 00014 00015 using namespace std; 00031 class ST { 00032 public: 00033 00034 ST(string _titGroupName, char _state, int _stateNr, float _shift, vector<Charge>_rules, float _shiftCycle0): 00035 titGroupName(_titGroupName), 00036 state(_state), 00037 stateNr(_stateNr), 00038 shift(_shift), 00039 rules(_rules), 00040 shiftCycle0(_shiftCycle0){ 00041 } 00042 00043 string getTitGroupName(){ 00044 return titGroupName; 00045 } 00046 00047 char getState(){ 00048 return state; 00049 } 00050 00051 int getStateNr(){ 00052 return stateNr; 00053 } 00054 00055 float getShift(){ 00056 return shift; 00057 } 00058 00059 float getShiftCycle0(){ 00060 return shiftCycle0; 00061 } 00062 00063 vector<Charge> getRules(){ 00064 return rules; 00065 } 00066 00067 void print(){ 00068 cout << "residue name: " << titGroupName << endl; 00069 cout << "state: " << state << endl; 00070 cout << "state nr: " << stateNr << endl; 00071 cout << "shift: " << shift << endl; 00072 cout << "cycle0 shift: " << shiftCycle0 << endl; 00073 } 00074 00075 private: 00076 string titGroupName; 00077 char state; 00078 int stateNr; 00079 float shift; 00080 vector<Charge> rules; 00081 float shiftCycle0; 00082 };