2 //=============================================================================
4 * @file PolicyList_Destroyer.h
6 * @author Carlos O'Ryan <coryan@atdesk.com>
8 //=============================================================================
9 #ifndef TAO_UTILS_POLICYLIST_DESTROYER_H
10 #define TAO_UTILS_POLICYLIST_DESTROYER_H
11 #include /**/ "ace/pre.h"
12 #include "tao/Utils/utils_export.h"
14 #include "tao/PolicyC.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class PolicyList_Destroyer
29 * @brief Automatically destroy all the policies set in a PolicyList
32 class TAO_UTILS_Export PolicyList_Destroyer
33 : public CORBA::PolicyList
36 PolicyList_Destroyer(CORBA::ULong length_hint
);
37 ~PolicyList_Destroyer() noexcept
;
42 TAO_END_VERSIONED_NAMESPACE_DECL
44 #if defined (__ACE_INLINE__)
45 # include "tao/Utils/PolicyList_Destroyer.inl"
46 #endif /* __ACE_INLINE__ */
48 #include /**/ "ace/post.h"
49 #endif /*TAO_UTILS_POLICYLIST_DESTROYER_H*/