summaryrefslogtreecommitdiff
path: root/TAO/tao/PolicyC.cpp
diff options
context:
space:
mode:
authorfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-12 18:58:44 +0000
committerfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-12 18:58:44 +0000
commit8d40b91422e328d03a0cda9dc91a9cb92458aa52 (patch)
tree468291519f5de84e2d73520262cff279db26aa67 /TAO/tao/PolicyC.cpp
parent0d2e3d69b72f8f9dad3402500a1b77d4a579c43a (diff)
downloadATCD-8d40b91422e328d03a0cda9dc91a9cb92458aa52.tar.gz
Tue Jun 12 13:30:02 2001 Frank Hunleth <fhunleth@cs.wustl.edu>, Angelo Corsaro <corsaro@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PolicyC.cpp')
-rw-r--r--TAO/tao/PolicyC.cpp15
1 files changed, 14 insertions, 1 deletions
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
)