From 8d40b91422e328d03a0cda9dc91a9cb92458aa52 Mon Sep 17 00:00:00 2001 From: fhunleth Date: Tue, 12 Jun 2001 18:58:44 +0000 Subject: Tue Jun 12 13:30:02 2001 Frank Hunleth , Angelo Corsaro --- TAO/tao/PolicyC.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'TAO/tao/PolicyC.cpp') diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index 44fa7b24076..6eb368913ae 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -40,7 +40,7 @@ #endif /* !defined INLINE */ // **************************************************************** - + TAO_NAMESPACE_TYPE (const CORBA::PolicyErrorCode) TAO_NAMESPACE_BEGIN (CORBA) TAO_NAMESPACE_DEFINE (const CORBA::PolicyErrorCode, BAD_POLICY, 0) @@ -1553,6 +1553,19 @@ CORBA_Policy::_tao_decode (TAO_InputCDR &) return 0; } +TAO_Cached_Policy_Type +CORBA_Policy::_tao_cached_type (void) const +{ + // By default, all policies are uncached. + return TAO_CACHED_POLICY_UNCACHED; +} + +TAO_Policy_Scope +CORBA_Policy::_tao_scope (void) const +{ + return TAO_POLICY_DEFAULT_SCOPE; +} + CORBA::PolicyType CORBA_Policy::policy_type ( CORBA::Environment &ACE_TRY_ENV ) -- cgit v1.2.1