void writeFile(File f, String content) throws IOException {
        FileWriter fw = new FileWriter(f);
        fw.write(content);
        fw.close();
    }
This class autogenerates C++ code for the C++ config, based on a CNode tree given.
configgen/src/main/java/com/yahoo/config/codegen/CppClassBuilder.java