MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / write

Method write

src/stubgenerator/codegenerator.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void CodeGenerator::write(const ::string &line) {
31 if (this->atBeginning) {
32 this->atBeginning = false;
33 for (int i = 0; i < this->indentation; i++)
34 *this->output << this->indentSymbol;
35 }
36 *this->output << line;
37}
38
39void CodeGenerator::writeLine(const ::string &line) {
40 this->write(line);

Callers 8

writeLineMethod · 0.95
operator <<Function · 0.80
callbackMethod · 0.80
generateStubMethod · 0.80
namespaceOpenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected