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

Function TypeFromString

libs/indexer/feature_decl.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28GeomType TypeFromString(std::string type)
29{
30 if (type == "Point")
31 return GeomType::Point;
32 else if (type == "Line")
33 return GeomType::Line;
34 else if (type == "Area")
35 return GeomType::Area;
36 else
37 return GeomType::Undefined;
38}
39} // namespace feature
40
41std::string DebugPrint(FeatureID const & id)

Callers 4

operator()Method · 0.85
UpdateMetadataValueMethod · 0.85
ApplyJournalEntryMethod · 0.85
GetEditJournalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected