summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp b/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp
deleted file mode 100644
index 5c9266495e9..00000000000
--- a/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-// $Id$
-
-#include "Policy.h"
-
-#include "ace/Log_Msg.h"
-
-ACE_RCSID (PolicyFactory,
- Policy,
- "$Id$")
-
-
-Policy::Policy (CORBA::ULong val)
- : value_ (val)
-{
-}
-
-Policy::~Policy (void)
-{
-}
-
-CORBA::ULong
-Policy::value (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->value_;
-}
-
-CORBA::PolicyType
-Policy::policy_type (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return Test::POLICY_TYPE;
-}
-
-CORBA::Policy_ptr
-Policy::copy (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- CORBA::Policy_ptr p;
- ACE_NEW_THROW_EX (p,
- Policy (this->value_),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::Policy::_nil ());
-
- return p;
-}
-
-void
-Policy::destroy (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
-}