00001 00010 #ifndef HACOMPMOD_H 00011 #define HACOMPMOD_H 00012 00013 #include "haconst.h" 00014 #include "hastl.h" 00015 #include "hastring.h" 00016 00017 class HaMolSet; 00018 class AtomCollection; 00019 00020 const int COMP_MOD_ELECTROST = 0x0001; 00021 const int COMP_MOD_ET_COUPL = 0x0002; 00022 const int COMP_MOD_QCHEM = 0x0003; 00023 const int COMP_MOD_GAUSSIAN = 0x0004; 00024 const int COMP_MOD_DALTON = 0x0005; 00025 const int COMP_MOD_INTERMOL = 0x0006; 00026 const int COMP_MOD_MOLMECH = 0x0007; 00027 const int COMP_MOD_SCATTER = 0x0008; 00028 const int COMP_MOD_STM = 0x0009; 00029 const int COMP_MOD_NUCL_ACID = 0x0010; 00030 00031 00032 class HaCompMod 00034 { 00035 public: 00036 HaCompMod(const int new_mtype, HaMolSet* new_phost_mset = NULL); 00037 virtual ~HaCompMod(); 00038 00039 static HaCompMod* CreateCompMod( const int mtype, HaMolSet* new_phost_mset = NULL); 00040 00041 bool SetMolHost(HaMolSet* new_phost_mset) { phost_mset = new_phost_mset; return true; } 00042 HaMolSet* GetMolSet() { return phost_mset; } 00043 const HaMolSet* GetMolSet() const { return phost_mset; } 00044 00045 const int GetType() { return mtype; } 00046 00047 virtual void SetDebugLevel(int new_debug_level); 00048 00049 virtual int OnDelAtoms(AtomCollection& del_atoms); 00050 00051 int debug_level; 00052 00053 protected: 00054 HaMolSet* phost_mset; 00055 const int mtype; 00056 00057 }; 00058 00059 00060 00061 00062 00063 #endif // end if !defined(HAMOLMECH_H)
1.3.6