mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-25 07:13:53 +00:00
@@ -9,8 +9,8 @@ using namespace editor;
|
||||
|
||||
UNIT_TEST(loadConfigFile)
|
||||
{
|
||||
// loadConfigFile() is executed in the constructor
|
||||
TypeToOSMTranslator typeToOsm;
|
||||
typeToOsm.loadConfigFile();
|
||||
}
|
||||
|
||||
UNIT_TEST(osmTagsFromType)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
namespace editor
|
||||
{
|
||||
|
||||
struct OSMTag
|
||||
{
|
||||
std::string key;
|
||||
@@ -14,17 +15,14 @@ struct OSMTag
|
||||
|
||||
class TypeToOSMTranslator
|
||||
{
|
||||
|
||||
public:
|
||||
TypeToOSMTranslator();
|
||||
|
||||
void loadConfigFile();
|
||||
//static void osmTagsFromType(uint32_t type);
|
||||
std::vector<OSMTag> osmTagsFromType(uint32_t type);
|
||||
std::vector<OSMTag> osmTagsFromType(uint32_t type);
|
||||
|
||||
private:
|
||||
std::map<uint32_t, std::vector<OSMTag>> m_storage;
|
||||
|
||||
};
|
||||
|
||||
TypeToOSMTranslator & getOSMTranslator();
|
||||
|
||||
Reference in New Issue
Block a user