MCPcopy Create free account
hub / github.com/acl-dev/acl / create_master_udp

Function create_master_udp

app/wizard/master_creator.cpp:124–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static bool create_master_udp(file_tmpl& tmpl)
125{
126 string file(tmpl.get_project_name());
127 file << ".cf";
128 if (!tmpl.copy_and_replace("master_udp.cf", file.c_str())) {
129 return false;
130 }
131
132 const char* name = "master_udp";
133 const FILE_FROM_TO tab[] = {
134 { "main_udp.cpp", "main.cpp" },
135 { "master_udp.h", "master_service.h" },
136 { "master_udp.cpp", "master_service.cpp" },
137 { NULL, NULL }
138 };
139
140 return tmpl.files_copy(name, tab);
141}
142
143void master_creator(const char* name, const char* type)
144{

Callers 1

master_creatorFunction · 0.85

Calls 4

get_project_nameMethod · 0.80
copy_and_replaceMethod · 0.80
files_copyMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…