00001 00002 #ifndef energyi_h 00003 #define energyi_h 00004 00005 #include "functioni.h" 00006 #include "moleculei.h" 00007 #include "energy.h" 00008 00009 class MolecularEnergy; 00010 00011 class C_MolecularEnergyImpl: public C_FunctionImpl { 00012 protected: 00013 MolecularEnergy *mole(); 00014 public: 00015 C_MolecularEnergyImpl(); 00016 ~C_MolecularEnergyImpl(); 00017 00018 double energy(CORBA_Environment &IT_env); 00019 C_Molecule *molecule(CORBA_Environment &e); 00020 00021 unsigned char molecularenergy_has_object(CORBA_Environment &e) 00022 { return has_object(e); } 00023 }; 00024 00025 DEF_TIE_C_MolecularEnergy(C_MolecularEnergyImpl); 00026 00027 #endif