2 #include "tao/PortableServer/IdUniquenessPolicy.h"
3 #include "tao/PortableServer/PortableServer.h"
5 #include "ace/CORBA_macros.h"
7 #if !defined (CORBA_E_MICRO)
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
13 namespace Portable_Server
15 IdUniquenessPolicy::IdUniquenessPolicy (
16 ::PortableServer::IdUniquenessPolicyValue value
) :
22 IdUniquenessPolicy::copy ()
24 IdUniquenessPolicy
*copy
= nullptr;
25 ACE_NEW_THROW_EX (copy
,
26 IdUniquenessPolicy (this->value_
),
33 IdUniquenessPolicy::destroy ()
37 ::PortableServer::IdUniquenessPolicyValue
38 IdUniquenessPolicy::value ()
44 IdUniquenessPolicy::policy_type ()
46 return ::PortableServer::ID_UNIQUENESS_POLICY_ID
;
49 TAO_Cached_Policy_Type
50 IdUniquenessPolicy::_tao_cached_type () const
52 return TAO_CACHED_POLICY_ID_UNIQUENESS
;
56 IdUniquenessPolicy::_tao_scope () const
58 return TAO_POLICY_POA_SCOPE
;
63 TAO_END_VERSIONED_NAMESPACE_DECL