Policy_Set.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Policy_Set.inl 77524 2007-03-05 10:55:32Z johnnyw $
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 Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7