Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / NVList_Adapter.h
blob7b961a81f0e8a43ef2e25de386e80a523302d36b
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file NVList_Adapter.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_NVLIST_ADAPTER_H
12 #define TAO_NVLIST_ADAPTER_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Basic_Types.h"
24 #include "ace/Service_Object.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace CORBA
30 class NVList;
31 typedef NVList *NVList_ptr;
33 class NamedValue;
34 typedef NamedValue *NamedValue_ptr;
37 /**
38 * @class TAO_NVList_Adapter
40 class TAO_Export TAO_NVList_Adapter : public ACE_Service_Object
42 public:
43 virtual ~TAO_NVList_Adapter ();
45 virtual void create_list (CORBA::Long count, CORBA::NVList_ptr &new_list) = 0;
47 virtual void create_named_value (CORBA::NamedValue_ptr &nv) = 0;
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
53 #endif /* TAO_NVLIST_ADAPTER_H */