summaryrefslogtreecommitdiff
path: root/TAO/tao/Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Context.cpp')
-rw-r--r--TAO/tao/Context.cpp138
1 files changed, 0 insertions, 138 deletions
diff --git a/TAO/tao/Context.cpp b/TAO/tao/Context.cpp
index 486ab584d3f..6bbe2795d24 100644
--- a/TAO/tao/Context.cpp
+++ b/TAO/tao/Context.cpp
@@ -1,15 +1,7 @@
// $Id$
-
#include "tao/Context.h"
-#if !defined (TAO_HAS_MINIMUM_CORBA)
-
-#include "tao/Typecode.h"
-#include "tao/Environment.h"
-#include "tao/NVList.h"
-#include "tao/ORB.h"
-
#if !defined (__ACE_INLINE__)
# include "tao/Context.i"
#endif /* ! __ACE_INLINE__ */
@@ -43,133 +35,3 @@ CORBA_Context::_decr_refcnt (void)
return 0;
}
-const char *
-CORBA_Context::context_name (CORBA::Environment &ACE_TRY_ENV) const
-{
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO),
- 0);
-}
-
-CORBA_Context_ptr
-CORBA_Context::parent (CORBA::Environment &ACE_TRY_ENV) const
-{
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO),
- 0);
-}
-
-void
-CORBA_Context::create_child (const char *child_ctx_name,
- CORBA_Context_out child_ctx,
- CORBA::Environment &ACE_TRY_ENV)
-{
- ACE_THROW (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO));
-}
-
-void
-CORBA_Context::set_one_value (const char *propname,
- const CORBA_Any &propvalue,
- CORBA::Environment &ACE_TRY_ENV)
-{
- ACE_THROW (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO));
-}
-
-void
-CORBA_Context::set_values (CORBA::NVList_ptr values,
- CORBA::Environment &ACE_TRY_ENV)
-{
- ACE_THROW (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO));
-}
-
-void
-CORBA_Context::delete_values (const char *propname,
- CORBA::Environment &ACE_TRY_ENV)
-{
- ACE_THROW (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO));
-}
-
-void
-CORBA_Context::get_values (const char *start_scope,
- CORBA::Flags op_flags,
- const char *pattern,
- CORBA::NVList_ptr &values,
- CORBA::Environment &ACE_TRY_ENV)
-{
- ACE_THROW (CORBA::NO_IMPLEMENT (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_NO));
-}
-
-CORBA_ContextList::CORBA_ContextList (CORBA::ULong len,
- char* *ctx_list)
- : ref_count_ (1)
-{
- for (CORBA::ULong i=0; i < len; i++)
- this->add (ctx_list [i]);
-}
-
-CORBA_ContextList::~CORBA_ContextList (void)
-{
- for (CORBA::ULong i = 0; i < this->count (); ++i)
- {
- char* *ctx;
- if (this->ctx_list_.get (ctx, i) == -1)
- return;
- CORBA::string_free (*ctx);
- }
-}
-
-void
-CORBA_ContextList::add (char *ctx)
-{
- this->ctx_list_.enqueue_tail (CORBA::string_dup (ctx));
-}
-
-void
-CORBA_ContextList::add_consume (char *ctx)
-{
- this->ctx_list_.enqueue_tail (ctx);
-}
-
-char *
-CORBA_ContextList::item (CORBA::ULong index,
- CORBA::Environment &ACE_TRY_ENV)
-{
- char* *ctx;
- ACE_TRY_ENV.clear ();
- if (this->ctx_list_.get (ctx, index) == -1)
- ACE_THROW_RETURN (CORBA::TypeCode::Bounds (), 0);
- else
- {
- return CORBA::string_dup (*ctx);
- }
-}
-
-void
-CORBA_ContextList::remove (CORBA::ULong,
- CORBA::Environment &ACE_TRY_ENV)
-{
- // unimplemented
- ACE_TRY_ENV.clear ();
-}
-
-CORBA_ContextList_ptr
-CORBA_ContextList::_duplicate (void)
-{
- ++this->ref_count_;
- return this;
-}
-
-void
-CORBA_ContextList::_destroy (void)
-{
- CORBA::ULong current = --this->ref_count_;
- if (current == 0)
- delete this;
-}
-
-#endif /* TAO_HAS_MINIMUM_CORBA */