00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file NVList_Adapter_Impl.h 00006 * 00007 * $Id: NVList_Adapter_Impl.h 88517 2010-01-13 08:54:34Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_NVLIST_ADAPTER_IMPL_H 00014 #define TAO_NVLIST_ADAPTER_IMPL_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/NVList_Adapter.h" 00025 #include "ace/Service_Config.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 /** 00030 * @class TAO_NVList_Adapter 00031 */ 00032 class TAO_AnyTypeCode_Export TAO_NVList_Adapter_Impl 00033 : public TAO_NVList_Adapter 00034 { 00035 public: 00036 virtual void create_list (CORBA::Long count, CORBA::NVList_ptr &new_list); 00037 00038 virtual void create_named_value (CORBA::NamedValue_ptr &nv); 00039 00040 /// Used to force the initialization of the NVList adapter 00041 static int Initializer (void); 00042 }; 00043 00044 static int TAO_Requires_NVList_Adapter_Impl_Initializer = 00045 TAO_NVList_Adapter_Impl::Initializer (); 00046 00047 ACE_STATIC_SVC_DECLARE (TAO_NVList_Adapter_Impl) 00048 ACE_FACTORY_DECLARE (TAO_AnyTypeCode, TAO_NVList_Adapter_Impl) 00049 00050 TAO_END_VERSIONED_NAMESPACE_DECL 00051 00052 #include /**/ "ace/post.h" 00053 #endif /* TAO_NVLIST_ADAPTER_IMPL_H */