Add project files.

This commit is contained in:
Robert 2021-04-14 21:04:08 +02:00
parent 18b81590d3
commit 045f3a8439
15 changed files with 1303019 additions and 0 deletions

View file

@ -0,0 +1,34 @@
#pragma once
#include <vector>
#include "util.hpp"
namespace osmp
{
class Object;
class Node
{
public:
Node(const tinyxml2::XMLElement* xml, Object* parent);
const std::vector<Tag>& GetTags() const;
size_t GetTagsSize() const;
const Tag& GetTag(size_t index) const;
private:
Object* parent;
std::vector<Tag> tags;
public:
unsigned int id;
float lat, lon;
std::string user;
unsigned int uid;
bool visible;
std::string version;
unsigned int changeset;
std::string timestamp;
};
}