[omniORB] How to use attributes

Cristi bcristi@cti.ro
Wed, 28 Apr 1999 10:53:02 +0300


Hi.
Can you write a short sample code of how you implement the methods to set
the value or retrieve the value of an attribute of an object?

for example:

interface Obj1 {
    attribute string name;
};

How do you implement Obj1_i::name() and Obj1_i::name(const char* _value) ?

Thanks
Cristi