Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / Simple / Persistent / Stock_i.cpp
blob0cb51fde1549da8a4a1247ffcc167c4eba7931ed
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_;