Borland / Delphi alternative to __super keyword

Keyword __super is Microsoft specific. It is used to access virtual methods of parent class. Do you know alternative keywords for borland c++ / delphi compilers?

class MyBaseClass
{
    virtual void DoSomething();
};

class MyDerivedClass : public MyBaseClass
{
    virtual void DoSomething();
};

void MyBaseClass::DoSomething()
{
    // some code
}

void MyDerivedClass::DoSomething()
{
    __super::DoSomething();  // calls implementation of base class - no need to know name of base class

    // implementation specific to derived class adding new functionality
}

Answers


The equivalent in Delphi is inherited. So far as I know, there is no equivalent in C++ Builder and of course __super is a non-standard MS extension.


Need Your Help

How to programmatically add a RibbonTab to WPF Ribbon (October 2010 release)?

c# wpf wpf-controls ribbon ribbon-control

Does anybody know a way to programatically add a RibbonTab to a Mircosoft WPF Ribbon? I can't find an example or at least a property to use in neither documentation nor Ribbon's intellisense.

How can I print column sections from SQL to Java to CSV?

java mysql sql database io

I have set up a MySQL database, my connection works, and I've somewhat got a handle on how to retrieve data from the database using ResultSet. The issue I'm currently having is that the assignment...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.