Osmium
0.1
|
All Osmium code is in this namespace. More...
Namespaces | |
namespace | Exception |
Exceptions used in different parts of Osmium. | |
namespace | Export |
Classes implementing export into non-OSM formats such as to shapefiles. | |
namespace | Geometry |
Geometry classes such as for points, linestrings, and polygons. | |
namespace | Handler |
Handlers operate on OSM data through callbacks. | |
namespace | Input |
Input classes parse OSM files and call a handler on the data they read. | |
namespace | Javascript |
Javascript support for Osmium. | |
namespace | OSM |
Basic classes for tags, nodes, ways, etc. | |
namespace | Output |
Classes for writing OSM files. | |
namespace | Sqlite |
The Sqlite classes wrap the Sqlite C library. | |
namespace | Storage |
Classes handling storage of data. | |
namespace | Utils |
Classes | |
class | OSMFile |
class | Delta |
class | StringTable |
class | Unicode_Conversion_Error |
Parent exception class for Unicode conversion errors. More... | |
class | UTF8_to_UTF16_Conversion_Error |
Exception thrown when a UTF-8 to UTF-16 conversion failed. More... | |
class | UTF16_to_UTF8_Conversion_Error |
Exception thrown when a UTF-16 to UTF-8 conversion failed. More... | |
class | Framework |
Functions | |
template<int characters> | |
v8::Local< v8::String > | utf8_to_v8_String (const char *cstring) |
template<int characters> | |
const char * | v8_String_to_utf8 (v8::Local< v8::String > string) |
void | v8_String_to_ostream (v8::Local< v8::String > string, std::ostream &os) |
Framework & | init (bool debug=false) |
void | set_debug (bool d) |
bool | debug () |
All Osmium code is in this namespace.
bool Osmium::debug | ( | ) |
Is debugging output set?
Framework& Osmium::init | ( | bool | debug = false | ) |
void Osmium::set_debug | ( | bool | d | ) |
Enable or disable the debugging output.
v8::Local<v8::String> Osmium::utf8_to_v8_String | ( | const char * | cstring | ) |
Convert C string with UTF-8 codes into v8::String.
UTF8_to_UTF16_Conversion_Error | Thrown if the conversion failed. |
characters | Maximum number of Unicode characters. |
cstring | A NULL terminated C string. |
void Osmium::v8_String_to_ostream | ( | v8::Local< v8::String > | string, |
std::ostream & | os | ||
) | [inline] |
Sends v8::String to output stream. This will first convert it to a UTF-8 string.
UTF16_to_UTF8_Conversion_Error | Thrown if the conversion failed. |
string | A v8::String. |
os | A reference to an output stream. |
const char* Osmium::v8_String_to_utf8 | ( | v8::Local< v8::String > | string | ) |
Convert v8::String into C string with UTF-8 codes.
UTF16_to_UTF8_Conversion_Error | Thrown if the conversion failed. |
characters | Maximum number of Unicode characters. |
string | A v8::String. |