Osmium
0.1
|
#include <osmfile.hpp>
Public Member Functions | |
std::string | suffix () const |
bool | has_multiple_object_versions () const |
Static Public Member Functions | |
static FileType * | OSM () |
static FileType * | History () |
static FileType * | Change () |
Private Member Functions | |
FileType (std::string suffix, bool has_multiple_object_versions) | |
Private Attributes | |
std::string | m_suffix |
bool | m_has_multiple_object_versions |
Instances of this class describe different file types.
You can not create instances of this class yourself, instead use the static methods provided to get the predefined instances.
Osmium::OSMFile::FileType::FileType | ( | std::string | suffix, |
bool | has_multiple_object_versions | ||
) | [inline, private] |
static FileType* Osmium::OSMFile::FileType::Change | ( | ) | [inline, static] |
OSM change file.
bool Osmium::OSMFile::FileType::has_multiple_object_versions | ( | ) | const [inline] |
static FileType* Osmium::OSMFile::FileType::History | ( | ) | [inline, static] |
OSM file with history.
static FileType* Osmium::OSMFile::FileType::OSM | ( | ) | [inline, static] |
Normal OSM file without history.
std::string Osmium::OSMFile::FileType::suffix | ( | ) | const [inline] |
bool Osmium::OSMFile::FileType::m_has_multiple_object_versions [private] |
std::string Osmium::OSMFile::FileType::m_suffix [private] |