Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / On_Demand_Activation / Stock_i.h
blob9efd6065891ec016c21dc3a3b4823dff66dcc848
2 #ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
3 #define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
5 #include "QuoterS.h"
6 #include <string>
8 class Quoter_Stock_i : public POA_Quoter::Single_Query_Stock {
9 public:
10 Quoter_Stock_i (const char *symbol,
11 const char *full_name,
12 CORBA::Double price);
14 char *symbol ();
15 char *full_name ();
16 CORBA::Double price ();
17 CORBA::Double get_price_and_names (CORBA::String_out symbol,
18 CORBA::String_out full_name);
20 private:
21 #if defined (HPUX) && (ACE_HAS_STANDARD_CPP_LIBRARY == 0)
22 string symbol_;
23 string full_name_;
24 #else
25 std::string symbol_;
26 std::string full_name_;
27 #endif /* HPUX */
28 CORBA::Double price_;
31 #endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H */