/usr/include/tao/Policy_Set.inl is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | // -*- C++ -*-
//
// $Id: Policy_Set.inl 77524 2007-03-05 10:55:32Z johnnyw $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE CORBA::Boolean
TAO_Policy_Set::compatible_scope (TAO_Policy_Scope policy_scope) const
{
return
((static_cast<unsigned int> (policy_scope)
& static_cast<unsigned int> (this->scope_)) > 0);
}
ACE_INLINE CORBA::Policy *
TAO_Policy_Set::get_policy_by_index (CORBA::ULong index) const
{
return CORBA::Policy::_duplicate (this->policy_list_[index]);
}
ACE_INLINE CORBA::ULong
TAO_Policy_Set::num_policies (void) const
{
return this->policy_list_.length();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|