#include #include ClassBuilder::ClassBuilder(const cxxopts::ParseResult& results_, const DeviceInfo& deviceInfo_, const std::vector& peripherals_) : results(results_), deviceInfo(deviceInfo_), peripherals(peripherals_){} void ClassBuilder::setupBuilders(){ builders.push_back(std::make_unique()); for(auto& peripheral : peripherals){ builders.push_back(std::make_unique(peripheral)); } } void ClassBuilder::build(){ for(auto& builder : builders){ builder->build(outputStream); } std::cout << outputStream.str(); }