Policy_Set.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Policy_Set.i,v 1.6 2006/04/19 08:50:40 jwillemsen Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE CORBA::Boolean
00008 TAO_Policy_Set::compatible_scope (TAO_Policy_Scope policy_scope) const
00009 {
00010   return
00011     ((static_cast<unsigned int> (policy_scope)
00012       & static_cast<unsigned int> (this->scope_)) > 0);
00013 }
00014 
00015 ACE_INLINE CORBA::Policy *
00016 TAO_Policy_Set::get_policy_by_index (CORBA::ULong index) const
00017 {
00018   return CORBA::Policy::_duplicate (this->policy_list_[index]);
00019 }
00020 
00021 ACE_INLINE CORBA::ULong
00022 TAO_Policy_Set::num_policies (void) const
00023 {
00024   return this->policy_list_.length();
00025 }
00026 
00027 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:20 2006 for TAO by doxygen 1.3.6