2 #include "tao/PortableServer/IdAssignmentPolicy.h"
3 #include "tao/PortableServer/PortableServer.h"
4 #include "ace/CORBA_macros.h"
6 #if !defined (CORBA_E_MICRO)
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
12 namespace Portable_Server
14 IdAssignmentPolicy::IdAssignmentPolicy (
15 ::PortableServer::IdAssignmentPolicyValue value
) :
21 IdAssignmentPolicy::copy ()
23 IdAssignmentPolicy
*copy
= 0;
24 ACE_NEW_THROW_EX (copy
,
25 IdAssignmentPolicy (this->value_
),
32 IdAssignmentPolicy::destroy ()
36 ::PortableServer::IdAssignmentPolicyValue
37 IdAssignmentPolicy::value ()
43 IdAssignmentPolicy::policy_type ()
45 return ::PortableServer::ID_ASSIGNMENT_POLICY_ID
;
48 TAO_Cached_Policy_Type
49 IdAssignmentPolicy::_tao_cached_type () const
51 return TAO_CACHED_POLICY_ID_ASSIGNMENT
;
55 IdAssignmentPolicy::_tao_scope () const
57 return TAO_POLICY_POA_SCOPE
;
62 TAO_END_VERSIONED_NAMESPACE_DECL