virtual class (Gambas)

From HTYP, the free directory anyone can edit

Jump to: navigation, search

[edit] Overview

In Gambas, a virtual class is a class containing one or more virtual methods, i.e. methods whose interface has been defined but whose implementation has not been. This is similar to the usage of the term in other languages.

In Gambas, virtual methods are always named beginning with a ".", e.g. ".ListViewItem".

It is not quite clear from the documentation, but it appears that virtual methods can only be instantiated using C++; see writing classes in Gambas.

This is a seed article. You can help HTYP by watering it.
Personal tools