Abstract Methods

A

Alex

Hi,

Using Visio 2003 is it possible to generate the methods of an abstract
class, in an object inheriting from that class ?

Thanks.

Alex
 
M

Mike Z

It's possible. I inherited a Visio class with an abstract method, and
implemented in my derived C++ class. It works fine.

Mike
 
A

Alex

Mike,

Did Visio automatically generate the abstract method ? or did you have to
manually add them ?

Thanks.

Alex
 
M

Mike Z

Hi Alex,

It's both. In my case I derived a class from Visio's class VEventHandler,
which has only one Pure virtual function or abstract method, namely,
HandleVisioEvent( ). In this case, I must implement the same function,
enforced by C++ standard as you've known.

Take care,

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top