MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / make_template

Function make_template

erpcgen/src/cpptemplate/cpptempl.hpp:363–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361};
362
363inline data_ptr make_template(const std::string &templateText, const string_vector *param_names = nullptr)
364{
365 DataTemplate *t = new DataTemplate(templateText);
366 if (param_names)
367 {
368 t->params() = *param_names;
369 }
370 return data_ptr(t);
371}
372
373// The big daddy. Pass in the template and data,
374// and get out a completed doc.

Callers 1

getEncodeDecodeCallMethod · 0.85

Calls 1

data_ptrClass · 0.85

Tested by

no test coverage detected