Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:documentation:devguide:core [2016/03/09 15:11] gribeiro [Examples] |
wiki:documentation:devguide:core [2016/11/21 07:26] (current) carolina.santos |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== TerraLib → Core Runtime Library ====== | + | ====== TerraLib.Core ====== |
- | ===== URI ===== | + | * **[[:wiki:documentation:devguide:core:translator|Translator]]:** language translation. |
+ | * **[[:wiki:documentation:devguide:core:char_encoding|CharEncoding]]:** encode/decode characters. | ||
- | ==== Design ==== | + | * **[[:wiki:documentation:devguide:core:logger|Logger]]:** event logs. |
- | ==== API ==== | + | * **[[:wiki:documentation:devguide:core:uri|URI]]:** URIs manipulation. |
- | ==== Examples ==== | + | * **[[:wiki:documentation:devguide:core:library|Library]]:** library management. |
- | <file main.cpp> | + | * **[[:wiki:documentation:devguide:core:files|FileSystem]]:** system paths with UTF-8 strings. |
- | // TerraLib | + | |
- | #include <terralib/core/URI.h> | + | |
- | + | ||
- | // STL | + | |
- | #include <cassert> | + | |
- | #include <iostream> | + | |
- | + | ||
- | int main() | + | |
- | { | + | |
- | + | ||
- | te::core::URI uri("http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:documentation:devguide#modules"); | + | |
- | + | ||
- | assert(uri.is_absolute()); | + | |
- | assert(!uri.is_opaque()); | + | |
- | assert(*uri.scheme() == "http"); | + | |
- | assert(*uri.host() == "www.dpi.inpe.br"); | + | |
- | assert(*uri.path() == "/terralib5/wiki/doku.php"); | + | |
- | assert(*uri.query() == "id=wiki:documentation:devguide"); | + | |
- | assert(*uri.fragment() == "modules"); | + | |
- | + | ||
- | return 0; | + | |
- | } | + | |
- | </file> | + | |
- | ==== References ==== | + | |
- | + | ||
- | ==== Tickets ==== | + | |
- | + | ||
- | ===== Module Manager ===== | + | |
+ | * **[[:wiki:documentation:devguide:core:plugins|Plugins]]:** plugins management. |