Lines Matching defs:prefix
31 void CreateConfig(Config &config, const std::string &prefix = "");
32 void CreateComponent(Config::Component &component, int32_t index, const std::string &prefix);
89 void SerializableTest::CreateComponent(Config::Component &component, int32_t index, const std::string &prefix)
91 component.description = prefix + "description" + std::to_string(index);
92 component.lib = prefix + "lib" + std::to_string(index);
93 component.constructor = prefix + "constructor" + std::to_string(index);
94 component.destructor = prefix + "destructor" + std::to_string(index);
95 component.params = prefix + "params" + std::to_string(index);
98 void SerializableTest::CreateConfig(Config &config, const std::string &prefix)
100 config.processLabel = prefix + "processLabel";
101 config.version = prefix + "version";
102 config.features = { prefix + "feature1", prefix + "feature2" };
103 config.plugins = { prefix + "plugin1", prefix + "plugin2" };
107 CreateComponent(component1, index++, prefix);
108 CreateComponent(component2, index++, prefix);