MCPcopy Create free account
hub / github.com/Illumina/hap.py / addPathInArg

Method addPathInArg

external/jsoncpp/jsoncpp.cpp:2962–2973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2960}
2961
2962void Path::addPathInArg(const std::string & /*path*/,
2963 const InArgs &in,
2964 InArgs::const_iterator &itInArg,
2965 PathArgument::Kind kind) {
2966 if (itInArg == in.end()) {
2967 // Error: missing argument %d
2968 } else if ((*itInArg)->kind_ != kind) {
2969 // Error: bad argument type
2970 } else {
2971 args_.push_back(**itInArg);
2972 }
2973}
2974
2975void Path::invalidPath(const std::string & /*path*/, int /*location*/) {
2976 // Error: invalid path.

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected