comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Object Oriented programming question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Object Oriented programming question [message #15079] Thu, 22 April 1999 00:00
steinhh is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: hexadecimal variables
Next Topic: Re: Polar treatment of a 2D array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 03:25:28 PDT 2025

Total time taken to generate the page: 0.31767 seconds