FrontPage. FitServers. CppFit. CppTestTools.
NewClassScript [add child]
usage

NewClass ClassName

This script creates ClassName.h, ClassName.cpp, and ClassNameTest.cpp and modifies the makefile. If you have a "DOTO =" in your makefile, the script will append a backslash newline ClassName.o ClassNameTest.o backslash newline, resulting in this

<whatever was before DOTO>DOTO =\
ClassName.o ClassNameTest.o\
<whatever was after DOTO>

If you are using MS tools you get an error about no makefile found. You have to add the created files into your build environment.

There are three template files that provide a basis for the newly created class. The template files can be found in $(CPP_TEST_TOOLS)/CppSourseTemplates

The created files look like this:
 

ClassName.h

 

ClassName.cpp

 

ClassNameTest.cpp