1 #include "tao/EndpointPolicy/EndpointPolicy_i.h"
2 #include "tao/SystemException.h"
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 TAO_EndpointPolicy_i::TAO_EndpointPolicy_i (const EndpointPolicy::EndpointList
&value
)
11 TAO_EndpointPolicy_i::TAO_EndpointPolicy_i (const TAO_EndpointPolicy_i
&rhs
)
14 , ::EndpointPolicy::Policy ()
15 , ::CORBA::LocalObject ()
20 TAO_EndpointPolicy_i::~TAO_EndpointPolicy_i ()
26 TAO_EndpointPolicy_i::policy_type ()
28 return EndpointPolicy::ENDPOINT_POLICY_TYPE
;
31 TAO_EndpointPolicy_i
*
32 TAO_EndpointPolicy_i::clone () const
34 TAO_EndpointPolicy_i
*copy
= 0;
36 TAO_EndpointPolicy_i (*this),
41 EndpointPolicy::EndpointList
*
42 TAO_EndpointPolicy_i::value ()
44 EndpointPolicy::EndpointList
* list
= 0;
46 EndpointPolicy::EndpointList (this->value_
),
53 TAO_EndpointPolicy_i::copy ()
55 TAO_EndpointPolicy_i
* servant
= 0;
56 ACE_NEW_THROW_EX (servant
,
57 TAO_EndpointPolicy_i (*this),
64 TAO_EndpointPolicy_i::destroy ()
66 this->value_
.length (0);
69 TAO_Cached_Policy_Type
70 TAO_EndpointPolicy_i::_tao_cached_type () const
72 return TAO_CACHED_POLICY_ENDPOINT
;
76 TAO_END_VERSIONED_NAMESPACE_DECL