Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Collocation / Diamond_i.cpp
blob85b39b1ad54da3b7e8d337c8496135a243671f96
1 #include "Diamond_i.h"
3 Top_i::Top_i ()
7 Top_i::~Top_i ()
11 char *
12 Top_i::shape ()
14 return CORBA::string_dup ("a point.");
17 Left_i::Left_i ()
21 Left_i::~Left_i ()
25 char *
26 Left_i::shape ()
28 return CORBA::string_dup ("the left line");
31 char *
32 Left_i::color ()
34 return CORBA::string_dup ("black");
37 Right_i::Right_i ()
41 Right_i::~Right_i ()
45 char *
46 Right_i::shape ()
48 return CORBA::string_dup ("the right line");
51 char *
52 Right_i::color ()
54 return CORBA::string_dup ("red");
58 CORBA::Long
59 Right_i::width ()
61 return 0;
64 Buttom_i::Buttom_i ()
68 Buttom_i::~Buttom_i ()
72 char *
73 Buttom_i::shape ()
75 return CORBA::string_dup ("a diamond");
78 char *
79 Buttom_i::color ()
81 return CORBA::string_dup ("translucent");
84 CORBA::Long
85 Buttom_i::width ()
87 return 100;
90 char *
91 Buttom_i::name ()
93 return CORBA::string_dup ("Jubilee");