00001 00002 #ifndef moleculei_h 00003 #define moleculei_h 00004 00005 #include "keyvali.h" 00006 #include "molecule.h" 00007 00008 class Molecule; 00009 00010 class C_MoleculeImpl: public C_KeyValCreatableImpl { 00011 protected: 00012 Molecule *mol(); 00013 00014 public: 00015 C_MoleculeImpl(); 00016 C_MoleculeImpl(Molecule*); 00017 ~C_MoleculeImpl(); 00018 00019 long natom(CORBA_Environment &IT_env); 00020 long atomic_number(long atomnum, CORBA_Environment &); 00021 double x(long atomnum, CORBA_Environment &); 00022 double y(long atomnum, CORBA_Environment &); 00023 double z(long atomnum, CORBA_Environment &); 00024 double r(long atom1, long atom2, CORBA_Environment &); 00025 00026 unsigned char molecule_has_object(CORBA_Environment &e) 00027 { return has_object(e); } 00028 }; 00029 00030 DEF_TIE_C_Molecule(C_MoleculeImpl); 00031 00032 #endif