MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / AddArguments

Method AddArguments

rtpose_wrapper/src/gtest/gtest-all.cpp:7058–7064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7056
7057 template <typename Str>
7058 void AddArguments(const ::std::vector<Str>& arguments) {
7059 for (typename ::std::vector<Str>::const_iterator i = arguments.begin();
7060 i != arguments.end();
7061 ++i) {
7062 args_.insert(args_.end() - 1, posix::StrDup(i->c_str()));
7063 }
7064 }
7065 char* const* Argv() {
7066 return &args_[0];
7067 }

Callers 1

AssumeRoleMethod · 0.80

Calls 3

StrDupFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected