MCPcopy Create free account
hub / github.com/Samsung/ONE / addPathInArg

Method addPathInArg

runtime/3rdparty/jsoncpp/jsoncpp.cpp:4294–4309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4292}
4293
4294void Path::addPathInArg(const String & /*path*/, const InArgs &in, InArgs::const_iterator &itInArg,
4295 PathArgument::Kind kind)
4296{
4297 if (itInArg == in.end())
4298 {
4299 // Error: missing argument %d
4300 }
4301 else if ((*itInArg)->kind_ != kind)
4302 {
4303 // Error: bad argument type
4304 }
4305 else
4306 {
4307 args_.push_back(**itInArg++);
4308 }
4309}
4310
4311void Path::invalidPath(const String & /*path*/, int /*location*/)
4312{

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected