C++ new class source code generator