summaryrefslogtreecommitdiff
path: root/examples/Misc/test_dump.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 22:18:03 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 22:18:03 +0000
commita479078c9f8ff4c0c17c679468298f61c19230d9 (patch)
treec185e1bc56840640bb1944f776499c6ffaa1dc0f /examples/Misc/test_dump.cpp
parentdd4501a0f6706b945705b7640d212ef444c3c68e (diff)
downloadATCD-pre_pluggable_av_merge.tar.gz
This commit was manufactured by cvs2svn to create tagpre_pluggable_av_merge
'pre_pluggable_av_merge'.
Diffstat (limited to 'examples/Misc/test_dump.cpp')
-rw-r--r--examples/Misc/test_dump.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/examples/Misc/test_dump.cpp b/examples/Misc/test_dump.cpp
deleted file mode 100644
index aa54fff047d..00000000000
--- a/examples/Misc/test_dump.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-// The following code illustrates how the ACE_Dumpable mechanisms are
-// integrated into ACE components like the SOCK_Acceptor and
-// SOCK_Stream.
-
-#include "ace/Dump.h"
-#include "test_dump.h"
-
-#include "ace/Reactor.h"
-
-ACE_RCSID(Misc, test_dump, "$Id$")
-
-int
-main (int, char *[])
-{
- SOCK outer_sock;
- // Note that the SOCK superclass is *not* printed.
- SOCK_Stream outer_stream;
- SOCK_Acceptor outer_acceptor;
- ACE_ODB::instance ()->dump_objects ();
- {
- SOCK inner_sock;
- // Note that the SOCK superclass is *not* printed.
- SOCK_Stream inner_stream;
- SOCK_Acceptor inner_acceptor;
- ACE_ODB::instance ()->dump_objects ();
- }
- ACE_ODB::instance ()->dump_objects ();
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Dumpable_Adapter<SOCK_Stream>;
-template class ACE_Dumpable_Adapter<SOCK>;
-template class ACE_Dumpable_Adapter<SOCK_Acceptor>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Dumpable_Adapter<SOCK_Stream>
-#pragma instantiate ACE_Dumpable_Adapter<SOCK>
-#pragma instantiate ACE_Dumpable_Adapter<SOCK_Acceptor>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-