Update cpp_class_generator.py