Re: Object Oriented programming question [message #15079] |
Thu, 22 April 1999 00:00 |
steinhh
Messages: 260 Registered: June 1994
|
Senior Member |
|
|
In article <7fn9hp$7dj$1@news.quebectel.com>
"Jean-Francois Lavoie" <jflavoie@ino.qc.ca> writes:
> Hi, I'm new to IDL and I'm looking forward using Object Oriented
> programming under IDL. As far as I can see, IDL doesn't support
> internal method calling inside a class, am I right ? I mean,
> within class A, suppose we have method A::Init and then
> A::SetValue, how can (or is it simply possible) to call the
> A::SetValue method from A::Init ? I didn't find any way to do
> this yet.. Can someone help ? Thanks,
self->SetValue,...
or self->A::SetValue,...
The "A::" is optional, but if used it will ensure that
it's the class A version of SetValue that's called.
Happy object orientation..
Stein Vidar
|
|
|