00001 00002 #ifndef keyvali_h 00003 #define keyvali_h 00004 00005 #include "keyval.h" 00006 00007 class DescribedClass; 00008 00009 class C_KeyValCreatableImpl { 00010 protected: 00011 DescribedClass *dc_; 00012 00013 void clear_dc(); 00014 void set_dc(DescribedClass *); 00015 public: 00016 C_KeyValCreatableImpl(); 00017 C_KeyValCreatableImpl(DescribedClass *); 00018 virtual ~C_KeyValCreatableImpl(); 00019 00020 virtual void keyval_create(const char *, CORBA_Environment &IT_env); 00021 unsigned char has_object(CORBA_Environment &IT_env); 00022 00023 DescribedClass *object() { return dc_; } 00024 }; 00025 00026 DEF_TIE_C_KeyValCreatable(C_KeyValCreatableImpl); 00027 00028 #endif