summaryrefslogtreecommitdiff
path: root/TAO/tests/Demux_Test/CodeGen/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Demux_Test/CodeGen/client.cpp')
-rw-r--r--TAO/tests/Demux_Test/CodeGen/client.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/TAO/tests/Demux_Test/CodeGen/client.cpp b/TAO/tests/Demux_Test/CodeGen/client.cpp
deleted file mode 100644
index 9260285ce37..00000000000
--- a/TAO/tests/Demux_Test/CodeGen/client.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-#include "tao.h"
-
-
-// Generate the client side include file "client.i". This file has a table of
-// function pointers to the the different operations of the
-// interface. Depending on the strategy chosen, we make appropriate calls
-
-long GenClientCode(ACE_Unbounded_Queue<ACE_CString> &arr, int limit)
-{
- fstream client_incl;
- int i;
- ACE_CString *str;
-
- client_incl.open("client.i", ios::out);
-
- for(i=0; i < limit; i++){
- if (arr.get(str, i) == -1)
- {
- return -1;
- }
- client_incl << "void " << str->rep() << "(tao_demux_ptr obj)" << endl;
- client_incl << "{" << endl;
- client_incl << "\tCORBA_Environment env;" << endl << endl;
- client_incl << "\tobj->" << str->rep() << "(env);" << endl;
- client_incl << "}" << endl;
- }
- client_incl << endl;
- client_incl << "static const method_db mtbl[] = {" << endl;
- for (i=0; i < limit; i++){
- if (arr.get(str, i) == -1)
- {
- return -1;
- }
- client_incl << "\t" << str->rep() << "," << endl;
- }
- client_incl << "};" << endl << endl;
- client_incl.close();
-}
-