Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / examples / LoadBalancing / Stock.h
blobb348be6e4c26c4a3dd117d5a84aeb05d73cf7534
2 #ifndef STOCK_H
3 #define STOCK_H
5 #include "TestS.h"
6 #include <string>
8 class Stock
9 : public POA_Test::Stock
11 public:
12 Stock (const char *symbol,
13 const char *full_name,
14 CORBA::Double price);
16 char *symbol ();
17 char *full_name ();
18 CORBA::Double price ();
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 /* STOCK_H */