summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp71
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp b/TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp
deleted file mode 100644
index 5e4fe805b68..00000000000
--- a/TAO/CIAO/DAnCE/Config_Handlers/IDREF_Base.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-// $Id$
-
-#include "IDREF_Base.h"
-#include <iostream>
-
-
-ACE_RCSID (DAnCE,
- IDREF_Base,
- "$Id$")
-
-
-namespace CIAO
-{
- namespace Config_Handlers
- {
-
- bool
- IDREF_Base::bind_ref (ACE_CString& id, size_t index)
- {
- int retval =
- idref_map_.bind (id, index);
-
- pos_map_.bind (index,id);
-
- if (retval < 0)
- return false;
-
- return true;
- }
-
- bool
- IDREF_Base::find_ref (const ACE_CString& id, size_t& val)
- {
- int retval =
- idref_map_.find (id, val);
-
- if (retval < 0)
- return false;
-
- return true;
- }
-
- bool
- IDREF_Base::find_ref (const size_t id, ACE_CString& val)
- {
- int retval =
- pos_map_.find (id,val);
-
- if (retval < 0)
- return false;
-
- return true;
- }
-
- bool
- IDREF_Base::unbind_refs (void)
- {
- int retval =
- idref_map_.unbind_all ();
-
- pos_map_.unbind_all ();
-
- if (retval < 0)
- return false;
-
- return true;
- }
-}
-
-}
-