Click to See Complete Forum and Search --> : Custom-"New Class"-Wizard with BaseClasses


Christian Lammel
May 19th, 1999, 10:52 AM
I would need a MS VisualStudio-Add-In, that is basically a customized version of the NewClass-Function, but from a customized template (with custom comment-style, etc).
AND: I would like to derive from one or more base classes and have the virtual functions automatically copied to the new h-file AND to the new cpp-file with generated function bodies.

like this:


// Base Class
class ITest
{
virtual long func1(void) = 0;
virtual int func2(const char*) = 0;
};

// new Class
class CNewTest : ITest
{
// This Class
CNewTest();
~CNewTest();

// IFwTest
virtual long func1(void);
virtual int func2(const char*);
};

// And CPP:
...
..
// IFwTest
long CNewTest::func1(void)
{
// TODO: add code
}

int CNewTest::func2(const char*)
{
// TODO: add code
}





too much? Has anybody written such an add-in?