Osmium
0.1
|
#include <tag.hpp>
Public Member Functions | |
Tag (const char *key, const char *value) | |
const char * | key () const |
const char * | value () const |
Static Public Attributes | |
static const int | max_utf16_length_key = 2 * (255 + 1) |
maximum number of UTF-16 units | |
static const int | max_utf16_length_value = 2 * (255 + 1) |
Private Attributes | |
std::string | m_key |
std::string | m_value |
An OSM tag.
Tag keys and values are not allowed to be longer than 255 characters each, but this is not checked by this class.
Osmium::OSM::Tag::Tag | ( | const char * | key, |
const char * | value | ||
) | [inline] |
const char* Osmium::OSM::Tag::key | ( | ) | const [inline] |
const char* Osmium::OSM::Tag::value | ( | ) | const [inline] |
std::string Osmium::OSM::Tag::m_key [private] |
std::string Osmium::OSM::Tag::m_value [private] |
const int Osmium::OSM::Tag::max_utf16_length_key = 2 * (255 + 1) [static] |
maximum number of UTF-16 units
const int Osmium::OSM::Tag::max_utf16_length_value = 2 * (255 + 1) [static] |