diff options
Diffstat (limited to 'TAO/docs/tutorials')
23 files changed, 1 insertions, 70 deletions
diff --git a/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp b/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp index 514bbab9ee2..c21450fa63a 100644 --- a/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp +++ b/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp @@ -3,9 +3,6 @@ // #include "Handler_i.h" -#include <iostream> - -using namespace std; Single_Query_Stock_Handler_i:: Single_Query_Stock_Handler_i (int *response_count) diff --git a/TAO/docs/tutorials/Quoter/AMI/client.cpp b/TAO/docs/tutorials/Quoter/AMI/client.cpp index 597cbab0824..c58d2240bbe 100644 --- a/TAO/docs/tutorials/Quoter/AMI/client.cpp +++ b/TAO/docs/tutorials/Quoter/AMI/client.cpp @@ -3,9 +3,6 @@ // #include "Handler_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/AMI/server.cpp b/TAO/docs/tutorials/Quoter/AMI/server.cpp index b489fa1073f..40e7dad6450 100644 --- a/TAO/docs/tutorials/Quoter/AMI/server.cpp +++ b/TAO/docs/tutorials/Quoter/AMI/server.cpp @@ -3,9 +3,6 @@ // #include "Stock_Factory_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Event_Service/Stock_Consumer.cpp b/TAO/docs/tutorials/Quoter/Event_Service/Stock_Consumer.cpp index 07a0f3d57a3..641eec60291 100644 --- a/TAO/docs/tutorials/Quoter/Event_Service/Stock_Consumer.cpp +++ b/TAO/docs/tutorials/Quoter/Event_Service/Stock_Consumer.cpp @@ -5,8 +5,6 @@ #include "Stock_Consumer.h" #include "QuoterC.h" -using namespace std; - Stock_Consumer::Stock_Consumer () { } diff --git a/TAO/docs/tutorials/Quoter/Event_Service/Stock_Factory_i.cpp b/TAO/docs/tutorials/Quoter/Event_Service/Stock_Factory_i.cpp index e3a2b9e1408..ecf7a49d649 100644 --- a/TAO/docs/tutorials/Quoter/Event_Service/Stock_Factory_i.cpp +++ b/TAO/docs/tutorials/Quoter/Event_Service/Stock_Factory_i.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include "Stock_i.h" -#include <iostream> - -using namespace std; Quoter_Stock_Factory_i::Quoter_Stock_Factory_i () { diff --git a/TAO/docs/tutorials/Quoter/Event_Service/client.cpp b/TAO/docs/tutorials/Quoter/Event_Service/client.cpp index 260b59023b6..e9dfd664efe 100644 --- a/TAO/docs/tutorials/Quoter/Event_Service/client.cpp +++ b/TAO/docs/tutorials/Quoter/Event_Service/client.cpp @@ -4,9 +4,6 @@ #include "Stock_Consumer.h" #include <orbsvcs/CosNamingC.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp index 7a69097fcdb..a4b0a9cba7b 100644 --- a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp +++ b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include <orbsvcs/CosNamingC.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp b/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp index 4243a0414da..2acaa247855 100644 --- a/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp +++ b/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp @@ -4,9 +4,6 @@ #include "QuoterC.h" #include <orbsvcs/CosNamingC.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp b/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp index b5c906b256d..87e7352189a 100644 --- a/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp +++ b/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include <orbsvcs/CosNamingC.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/Handler_i.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/Handler_i.cpp index 514bbab9ee2..c21450fa63a 100644 --- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/Handler_i.cpp +++ b/TAO/docs/tutorials/Quoter/On_Demand_Activation/Handler_i.cpp @@ -3,9 +3,6 @@ // #include "Handler_i.h" -#include <iostream> - -using namespace std; Single_Query_Stock_Handler_i:: Single_Query_Stock_Handler_i (int *response_count) diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp index 597cbab0824..c58d2240bbe 100644 --- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp +++ b/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp @@ -3,9 +3,6 @@ // #include "Handler_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp index 499478fa140..88b524e34ef 100644 --- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp +++ b/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp @@ -3,9 +3,6 @@ // #include "Stock_Factory_Locator_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Consumer.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Consumer.cpp index db5a36a819e..ce03e9caca0 100644 --- a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Consumer.cpp +++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Consumer.cpp @@ -5,8 +5,6 @@ #include "Stock_Consumer.h" #include "QuoterC.h" -using namespace std; - Stock_Consumer::Stock_Consumer () { } diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Factory_i.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Factory_i.cpp index 1e90e75a3cf..02fd4588dd3 100644 --- a/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Factory_i.cpp +++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/Stock_Factory_i.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include "Stock_i.h" -#include <iostream> - -using namespace std; Quoter_Stock_Factory_i::Quoter_Stock_Factory_i () { diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp index 5857cd83fcf..bf1afc43d06 100644 --- a/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp +++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp @@ -5,9 +5,6 @@ #include "Stock_Consumer.h" #include <orbsvcs/CosNamingC.h> #include <orbsvcs/Event_Utilities.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp index f8f9b3f0f76..e686d11605c 100644 --- a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp +++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include <orbsvcs/CosNamingC.h> -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp index d1297061716..4caa1cb8c3a 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp @@ -4,9 +4,6 @@ // Include the generated names.... #include "QuoterC.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp index d1297061716..4caa1cb8c3a 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp @@ -4,9 +4,6 @@ // Include the generated names.... #include "QuoterC.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp index b5500a98338..980afa0b229 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp @@ -17,10 +17,6 @@ #include "Stock_Factory_i.h" #include "tao/IORTable/IORTable.h" -#include <iostream> - -using namespace std; - int main (int argc, char* argv[]) { try { diff --git a/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp index 2d15a1c6368..217dcd7204a 100644 --- a/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp @@ -4,9 +4,6 @@ #include "Stock_Factory_i.h" #include "Stock_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp index d1297061716..4caa1cb8c3a 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp @@ -4,9 +4,6 @@ // Include the generated names.... #include "QuoterC.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { diff --git a/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp index 51a2e137b79..15f6f051e12 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp @@ -16,12 +16,8 @@ //============================================================================ #include "Stock_Factory_i.h" -#include <iostream> -using namespace std; - -int -main (int argc, char *argv[]) +int main (int argc, char *argv[]) { try { diff --git a/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp index 75b2ac1c8b1..1982a18262a 100644 --- a/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp +++ b/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp @@ -3,9 +3,6 @@ // #include "Stock_Factory_i.h" -#include <iostream> - -using namespace std; int main (int argc, char* argv[]) { |