summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp')
-rw-r--r--TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp64
1 files changed, 0 insertions, 64 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp
deleted file mode 100644
index 1a26fa6a163..00000000000
--- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Data.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-// $Id$
-
-#include "ECT_Data.h"
-
-ACE_RCSID(EC_Throughput, ECT_Data, "$Id$")
-
-TAO_OutputCDR&
-operator<< (TAO_OutputCDR& cdr, ECT_Data& x)
-{
- // We are a little careless about error checking in this routine,
- // because one the CDR gets the error bit on it is never disabled.
- CORBA::ULong count = x.inventory.current_size ();
- cdr << x.description.in ()
- << count;
- for (ECT_Data::Inventory::ITERATOR i = x.inventory.begin ();
- i != x.inventory.end ();
- ++i)
- {
- const ECT_Data::Inventory::ENTRY& v = *i;
- cdr << v.ext_id_
- << v.int_id_;
- }
- return cdr;
-}
-
-TAO_InputCDR&
-operator>> (TAO_InputCDR& cdr, ECT_Data& x)
-{
- // We are a little careless about error checking in this routine,
- // because one the CDR gets the error bit on it is never disabled.
- CORBA::ULong count;
- cdr >> x.description.out ()
- >> count;
-
- // ACE_DEBUG ((LM_DEBUG, "Decoding <%d> elements\n", count));
-
- for (CORBA::ULong i = 0; i < count && cdr.good_bit (); ++i)
- {
- CORBA::ULong ext_id;
- CORBA::Double int_id;
- cdr >> ext_id
- >> int_id;
- if (cdr.good_bit ())
- x.inventory.bind (ext_id, int_id);
-
- // ACE_DEBUG ((LM_DEBUG, "Boung <%d,%f>\n", ext_id, int_id));
-
- }
- return cdr;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Map_Manager<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>;
-template class ACE_Map_Entry<CORBA::ULong,CORBA::Double>;
-template class ACE_Map_Iterator_Base<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>;
-template class ACE_Map_Iterator<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>;
-template class ACE_Map_Reverse_Iterator<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>;
-#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Map_Manager<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>
-#pragma instantiate ACE_Map_Entry<CORBA::ULong,CORBA::Double>
-#pragma instantiate ACE_Map_Iterator_Base<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>
-#pragma instantiate ACE_Map_Iterator<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>
-#pragma instantiate ACE_Map_Reverse_Iterator<CORBA::ULong,CORBA::Double,ACE_Null_Mutex>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */