=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / On_Demand_Activation / Stock_i.cpp
blobeec81a988429c67f1cd78ee7d65c1596b1cba0cf
2 #include "Stock_i.h"
4 Quoter_Stock_i::Quoter_Stock_i (const char *symbol,
5 const char *full_name,
6 CORBA::Double price)
7 : symbol_ (symbol),
8 full_name_ (full_name),
9 price_ (price)
13 char *
14 Quoter_Stock_i::symbol ()
16 return CORBA::string_dup (this->symbol_.c_str ());
19 char *
20 Quoter_Stock_i::full_name ()
22 return CORBA::string_dup (this->full_name_.c_str ());
25 CORBA::Double
26 Quoter_Stock_i::price ()
28 return this->price_;
31 CORBA::Double
32 Quoter_Stock_i::get_price_and_names (CORBA::String_out symbol,
33 CORBA::String_out full_name)
35 symbol = CORBA::string_dup (this->symbol_.c_str ());
36 full_name = CORBA::string_dup (this->full_name_.c_str ());
38 return this->price_;