Searched refs:mArgumentSpecs (Results 1 – 2 of 2) sorted by relevance
28 for (size_t i = 0; i < mArgumentSpecs.size() ; ++i) { in validateSpecs()29 if (mArgumentSpecs[i].getMinCount() == 0 && mArgumentSpecs[i].getMaxCount() == 0) { in validateSpecs()30 AKLOGE("minCount = maxCount = 0 for %s.", mArgumentSpecs[i].getName().c_str()); in validateSpecs()33 if (mArgumentSpecs[i].getMinCount() != mArgumentSpecs[i].getMaxCount() in validateSpecs()34 && i != mArgumentSpecs.size() - 1) { in validateSpecs()36 mArgumentSpecs[i].getName().c_str()v ); in validateSpecs()39 if (argumentNameSet.count(mArgumentSpecs[i].getName()) > 0) { in validateSpecs()41 mArgumentSpecs[i].getName().c_str()); in validateSpecs()44 argumentNameSet.insert(mArgumentSpecs[i].getName()); in validateSpecs()61 for (const auto &argSpec : mArgumentSpecs) { in printUsage()[all …]
102 : mOptionSpecs(std::move(optionSpecs)), mArgumentSpecs(std::move(argumentSpecs)) {} in ArgumentsParser()114 const std::vector<ArgumentSpec> mArgumentSpecs; variable