diff options
Diffstat (limited to 'TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.cpp')
-rw-r--r-- | TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.cpp deleted file mode 100644 index 4e23bb6e618..00000000000 --- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// - -#include "Stock_i.h" - -Quoter_Stock_i::Quoter_Stock_i (const char *symbol, - const char *full_name, - CORBA::Double price) - : symbol_ (symbol), - full_name_ (full_name), - price_ (price) -{ -} - -char * -Quoter_Stock_i::symbol () throw (CORBA::SystemException) -{ - return CORBA::string_dup (this->symbol_.c_str ()); -} - -char * -Quoter_Stock_i::full_name () throw (CORBA::SystemException) -{ - return CORBA::string_dup (this->full_name_.c_str ()); -} - -CORBA::Double -Quoter_Stock_i::price () throw (CORBA::SystemException) -{ - return this->price_; -} - -CORBA::Double -Quoter_Stock_i::get_price_and_names (CORBA::String_out symbol, - CORBA::String_out full_name) - throw (CORBA::SystemException) -{ - symbol = CORBA::string_dup (this->symbol_.c_str ()); - full_name = CORBA::string_dup (this->full_name_.c_str ()); - - return this->price_; -} - - - |