MCPcopy Create free account
hub / github.com/apache/thrift / set_include_prefix

Method set_include_prefix

compiler/cpp/src/thrift/parse/t_program.h:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 void set_include_prefix(std::string include_prefix) {
278 include_prefix_ = include_prefix;
279
280 // this is intended to be a directory; add a trailing slash if necessary
281 std::string::size_type len = include_prefix_.size();
282 if (len > 0 && include_prefix_[len - 1] != '/') {
283 include_prefix_ += '/';
284 }
285 }
286
287 // Language neutral namespace / packaging
288 void set_namespace(std::string language, std::string name_space) {

Callers 2

mainFunction · 0.80
add_includeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected