MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / getInts

Method getInts

Tools/ezOptionParser.h:1123–1134  ·  view source on GitHub ↗

################################################################### */

Source from the content-addressed store, hash-verified

1121};
1122/* ################################################################### */
1123void OptionGroup::getInts(std::vector<int> & out) {
1124 if (!isSet) {
1125 if (!defaults.empty()) {
1126 std::vector< std::string > strings;
1127 SplitDelim(defaults, delim, strings);
1128 StringsToInts(strings, out);
1129 }
1130 } else {
1131 if (!(args.empty() || args[0]->empty()))
1132 StringsToInts(args[0], &out);
1133 }
1134};
1135/* ################################################################### */
1136void OptionGroup::getLongs(std::vector<long> & out) {
1137 if (!isSet) {

Callers 2

make_edabitsMethod · 0.80
generateMethod · 0.80

Calls 3

SplitDelimFunction · 0.85
StringsToIntsFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected