MCPcopy Create free account
hub / github.com/comaps/comaps / ParseInterpolation

Function ParseInterpolation

generator/address_parser/tiger_parser.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55feature::InterpolType ParseInterpolation(std::string_view s)
56{
57 if (s == "all")
58 return feature::InterpolType::Any;
59 if (s == "odd")
60 return feature::InterpolType::Odd;
61 if (s == "even")
62 return feature::InterpolType::Even;
63 return feature::InterpolType::None;
64}
65
66bool ParseLine(std::string_view line, AddressEntry & e)
67{

Callers 1

ParseLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected