gencc is a small utility to generate .cc and .h files for empty classes. gencc.tar.gz (http download; 4k).
gencc generates a .cc and .h skeleton file for an empty class. Default constructor, copy constructor, virtual destructor and assignment operator are generated. Compile make Full installation guide is in the file INSTALL. Usage gencc [--base=BaseClass] [--force] [--includeinheader=FileName.h] ClassName will generate ClassName.h and ClassName.cc --base=BaseClass BaseClass is a public base class of ClassName --force Overwrite existing ClassName.h and ClassName.cc --includeinheader=FileName.h Add a #include "FileName.h" in ClassName.h --copy=no|full|private Control access of copy constructor and assignment operator no : don't generate them full : generate them publicly with an schematic definition private : generate them as private with an empty definition Copyright for gencc : Bart Vanhauwaert, 2001, 2002. gencc is distributed under the GPL. No warranty.