POA_Policy_Set.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: POA_Policy_Set.inl 76898 2007-02-04 18:58:07Z johnnyw $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE CORBA::ULong
00008 TAO_POA_Policy_Set::num_policies (void) const
00009 {
00010   return this->impl_.num_policies ();
00011 }
00012 
00013 ACE_INLINE CORBA::Policy *
00014 TAO_POA_Policy_Set::get_policy_by_index (CORBA::ULong index)
00015 {
00016   return this->impl_.get_policy_by_index (index);
00017 }
00018 
00019 ACE_INLINE CORBA::Policy_ptr
00020 TAO_POA_Policy_Set::get_cached_policy (TAO_Cached_Policy_Type type)
00021 {
00022   return this->impl_.get_cached_policy (type);
00023 }
00024 
00025 ACE_INLINE void
00026 TAO_POA_Policy_Set::merge_policies (const CORBA::PolicyList &policies)
00027 {
00028   // Add the policies if they don't exist, override them if they do.
00029   this->impl_.set_policy_overrides (policies, CORBA::ADD_OVERRIDE);
00030 }
00031 
00032 ACE_INLINE void
00033 TAO_POA_Policy_Set::merge_policy (const CORBA::Policy_ptr policy)
00034 {
00035   this->impl_.set_policy (policy);
00036 }
00037 
00038 ACE_INLINE CORBA::Policy_ptr
00039 TAO_POA_Policy_Set::get_policy (CORBA::PolicyType policy)
00040 {
00041   return this->impl_.get_policy (policy);
00042 }
00043 
00044 ACE_INLINE TAO_Policy_Set &
00045 TAO_POA_Policy_Set::policies (void)
00046 {
00047   return this->impl_;
00048 }
00049 
00050 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7