Namespaces | |
plugin | |
Classes | |
class | AbstractPlugin |
The base class for plugins in TerraLib. More... | |
class | AbstractPluginEngine |
The base class for plugin engines. More... | |
class | CharEncoding |
A class for handling character enconding/decoding. More... | |
class | CppPlugin |
The base class for C++ plugins. More... | |
class | CppPluginEngine |
class | CppPluginProxy |
A proxy class for C++ plugins. More... | |
struct | Exception |
Base exception class for TerraLib Core Runtime Library. More... | |
class | FileSystem |
A class for handling system files and paths using UTF-8 strings. More... | |
struct | HostApplication |
Describe the host system. More... | |
struct | Info |
Basic information about a module. More... | |
class | Library |
A class for handling shared libraries (DLLs, SO, DyLibs). More... | |
struct | LibraryEntry |
struct | LibraryInvalidSearchPathException |
An exception indicating an error when adding a given path to the operational system search library path. More... | |
struct | LibraryLoadException |
An exception indicating an error when loading a shared library. More... | |
class | LibraryManager |
A singleton that can be used to observe the available libraries in the system. More... | |
struct | LibraryNameException |
An execption indicating an error when the library name is empty. More... | |
struct | LibraryResetSearchPathException |
An exception indicating an error when reseting the operational system search library path. More... | |
struct | LibrarySearchPathException |
An exception indicating the operational system search library path was not found. More... | |
struct | LibrarySymbolNotFoundException |
An exception indicating an error when searching for a given symbol in a shared library. More... | |
struct | LibraryUnloadException |
An exception indicating an error when releasing a shared library. More... | |
class | Logger |
struct | PluginCyclicDependencyException |
An exception indicating an error when two or more plugins have cyclic dependecy. More... | |
struct | PluginEngineLoadException |
An exception indicating an error when loading a plugin. More... | |
class | PluginEngineManager |
A singleton that can be used to register plugin engines. More... | |
struct | PluginEngineUnloadException |
An exception indicating an error when releasing a given plugin. More... | |
struct | PluginHasDependentException |
An exception indicating an error when trying to shutdown a plugin with a dependent. More... | |
struct | PluginInfo |
Basic information about a plugin. More... | |
struct | PluginLoadException |
An exception indicating an error when loading a plugin. More... | |
class | PluginManager |
A singleton for managing plugins. More... | |
struct | PluginMissingDependencyException |
An exception indicating an error when a dependecy is missing. More... | |
struct | PluginShutdownException |
An exception indicating an error when shutting down a plugin. More... | |
struct | PluginStartupException |
An exception indicating an error when trying to start a plugin. More... | |
struct | PluginUnloadException |
An exception indicating an error when unloading a plugin. More... | |
struct | Provider |
Describe the module provider. More... | |
class | TerraLib |
An utility class to control the startup and cleanup of the TerraLib Platform and its resources. More... | |
class | Translator |
This singleton is designed to deal with multi-language text translation in TerraLib. More... | |
class | URI |
A class for representing an Uniform Resource Identifier (URI). More... | |
struct | URIException |
Base exception for DataRetrieverWCS. More... | |
Typedefs | |
typedef boost::function0< void > | CleanupFnct |
typedef std::pair< std::string, std::string > | Parameter |
typedef std::pair< std::string, std::string > | Resource |
typedef boost::function0< void > | StartupFnct |
typedef CppPlugin *(* | te_get_plugin_fnct_t) (const PluginInfo &pinfo) |
The type of function for plugin's entry point. More... | |
Enumerations | |
enum | EncodingType { EncodingType::UTF8, EncodingType::CP1250, EncodingType::CP1251, EncodingType::CP1252, EncodingType::CP1253, EncodingType::CP1254, EncodingType::CP1257, EncodingType::LATIN1 } |
Supported character encodings. More... | |
Functions | |
char * | Binary2Hex (const char *s, std::size_t size) |
Each char from the array of characters in binary format is converted into a pair of hex characters. The final string is NULL terminated. More... | |
void | Binary2Hex (const char *s, std::size_t size, char *outBuff) |
Each char from the array of characters in binary format is converted into a pair of hex characters. The final string is NULL terminated. More... | |
void | Char2Hex (unsigned char c, char *r) |
It converts the character to a hex representation. More... | |
TECOREEXPORT std::vector< PluginInfo > | DefaultPluginFinder () |
TECOREEXPORT std::map< std::string, std::string > | Expand (const std::string &query_str) |
Split a query string into its components. More... | |
TECOREEXPORT std::string | FindInTerraLibPath (const std::string &path) |
Returns the path relative to a directory or file in the context of TerraLib. More... | |
TECOREEXPORT std::string | GetAppDataLocation () |
It returns the writable folder location to store application data applied to all users. More... | |
TECOREEXPORT std::string | GetAppLocalDataLocation () |
It returns the writable folder location to store per user data. More... | |
unsigned char | GetDecimalFromHexLCase (char hexValue) |
It returns the decimal value in a char from a given hex value (for example: 'a' => 10, '8' => 8). More... | |
unsigned char | GetDecimalFromHexNotCS (unsigned char hexValue) |
It returns the decimal value in a char from a given hex value (for example: 'A' => 10, '8' => 8). More... | |
unsigned char | GetDecimalFromHexUCase (char hexValue) |
It returns the decimal value in a char from a given hex value (for example: 'A' => 10, '8' => 8). More... | |
TECOREEXPORT std::string | GetUserDirectory () |
Returns the system user home dir path. More... | |
char * | Hex2Binary (const char *hex) |
It converts each pair of hex characters from a NULL-terminated string of hex characters into a binary format. More... | |
void | Hex2Binary (const char *hex, std::size_t hSize, char *outBuff) |
It converts each pair of hex characters from an input string of hex characters into a binary format. More... | |
char * | Hex2Binary2 (const char *hex) |
It converts each pair of hex characters from a NULL-terminated string of hex characters into a binary format. More... | |
void | Hex2Binary2 (const char *hex, std::size_t hSize, char *outBuff) |
It converts each pair of hex characters from an input string of hex characters into a binary format. More... | |
char | Hex2Char (const char *hex) |
It converts the character from a hex representation to a byte. More... | |
unsigned char | Hex2Char2 (const char *hex) |
It converts the character from a hex representation to a byte. More... | |
TECOREEXPORT PluginInfo | JSONPluginInfoSerializer (const std::string &file_name) |
A plugin finder that search for plugins in some special directories defined by compile time macros. More... | |
TECOREEXPORT std::vector< PluginInfo > | PluginFinder (const std::vector< std::string > &dirs) |
TECOREEXPORT std::string | URIDecode (const std::string &srcUri) |
Decodes an encoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm. More... | |
TECOREEXPORT std::string | URIEncode (const std::string &srcUri) |
Encodes an decoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm. More... | |
typedef boost::function0<void> te::core::CleanupFnct |
Definition at line 58 of file LibraryManager.h.
typedef std::pair< std::string, std::string > te::core::Parameter |
Definition at line 62 of file LibraryInfo.h.
typedef std::pair< std::string, std::string > te::core::Resource |
Definition at line 60 of file LibraryInfo.h.
typedef boost::function0<void> te::core::StartupFnct |
Definition at line 51 of file LibraryManager.h.
typedef CppPlugin*(* te::core::te_get_plugin_fnct_t) (const PluginInfo &pinfo) |
The type of function for plugin's entry point.
Definition at line 77 of file CppPlugin.h.
|
strong |
Supported character encodings.
Definition at line 50 of file CharEncoding.h.
|
inline |
Each char from the array of characters in binary format is converted into a pair of hex characters. The final string is NULL terminated.
s | An array of characters in binary format. |
size | The size of the string of characters (not including the trailing '\0'). |
Definition at line 602 of file HexUtils.h.
References Char2Hex().
|
inline |
Each char from the array of characters in binary format is converted into a pair of hex characters. The final string is NULL terminated.
s | An array of characters in binary format. |
size | The size of the string of characters (not including the trailing '\0'). |
outBuff | A pointer to a pre-allocated buffer where to output the binary version. It must have at least 2*size+1 bytes. |
Definition at line 623 of file HexUtils.h.
References Char2Hex().
|
inline |
It converts the character to a hex representation.
c | The byte to be transformed to hex representation. |
r | The resulting hex encoding will be write in the r pointer. |
Definition at line 248 of file HexUtils.h.
Referenced by Binary2Hex().
TECOREEXPORT std::vector<PluginInfo> te::core::DefaultPluginFinder | ( | ) |
A plugin finder that search for plugins in some special directories defined by compile time macros.
TECOREEXPORT std::map<std::string, std::string> te::core::Expand | ( | const std::string & | query_str | ) |
Split a query string into its components.
query_str | The query string that will have the data extracted. |
Exception | An exception can be thrown, if a parser error occurs during decomposition of the query string. |
TECOREEXPORT std::string te::core::FindInTerraLibPath | ( | const std::string & | path | ) |
TECOREEXPORT std::string te::core::GetAppDataLocation | ( | ) |
It returns the writable folder location to store application data applied to all users.
TECOREEXPORT std::string te::core::GetAppLocalDataLocation | ( | ) |
It returns the writable folder location to store per user data.
|
inline |
It returns the decimal value in a char from a given hex value (for example: 'a' => 10, '8' => 8).
hexValue | The hex value we want to extract the decimal value. |
Definition at line 185 of file HexUtils.h.
|
inline |
It returns the decimal value in a char from a given hex value (for example: 'A' => 10, '8' => 8).
hexValue | The hex value we want to extract the decimal value. |
Definition at line 49 of file HexUtils.h.
Referenced by te::color::RGBAColor::setColor().
|
inline |
It returns the decimal value in a char from a given hex value (for example: 'A' => 10, '8' => 8).
hexValue | The hex value we want to extract the decimal value. |
Definition at line 119 of file HexUtils.h.
TECOREEXPORT std::string te::core::GetUserDirectory | ( | ) |
Returns the system user home dir path.
Referenced by te::rp::Matrix< TemplateElementType >::createNewDiskFile().
|
inline |
It converts each pair of hex characters from a NULL-terminated string of hex characters into a binary format.
This function can be used, for example, to decode the returned geometry from PostGIS.
hex | A NULL-terminated string of hexadecimal characters. |
Definition at line 469 of file HexUtils.h.
|
inline |
It converts each pair of hex characters from an input string of hex characters into a binary format.
This version can be used for those who wants to pre-allocate the memory where the parsed version will be output.
hex | A string of hexadecimal characters. |
hSize | The number of bytes in the input string. Remember that it must be a multiple of 2. |
outBuff | A pointer to a pre-allocated buffer where to output the binary version. It must have at least hSize/2 bytes. |
Definition at line 515 of file HexUtils.h.
|
inline |
It converts each pair of hex characters from a NULL-terminated string of hex characters into a binary format.
This function can be used, for example, to decode the returned geometry from PostGIS.
hex | A NULL-terminated string of hexadecimal characters. |
Definition at line 557 of file HexUtils.h.
References Hex2Char2().
|
inline |
It converts each pair of hex characters from an input string of hex characters into a binary format.
This version can be used for those who wants to pre-allocate the memory where the parsed version will be output.
hex | A string of hexadecimal characters. |
hSize | The number of bytes in the input string. Remember that it must be a multiple of 2. |
outBuff | A pointer to a pre-allocated buffer where to output the binary version. It must have at least hSize/2 bytes. |
Definition at line 583 of file HexUtils.h.
References Hex2Char2().
|
inline |
It converts the character from a hex representation to a byte.
h | At least a pair of bytes to be transformed from a hex representation. |
Definition at line 270 of file HexUtils.h.
|
inline |
It converts the character from a hex representation to a byte.
h | At least a pair of bytes to be transformed from a hex representation. |
Definition at line 301 of file HexUtils.h.
Referenced by Hex2Binary2().
TECOREEXPORT PluginInfo te::core::JSONPluginInfoSerializer | ( | const std::string & | file_name | ) |
A plugin finder that search for plugins in some special directories defined by compile time macros.
InvalidArgumentException | if the given file_name doesn't exist |
TECOREEXPORT std::vector<PluginInfo> te::core::PluginFinder | ( | const std::vector< std::string > & | dirs | ) |
A plugin finder that search for plugins in some special directories defined by configuration file.
TECOREEXPORT std::string te::core::URIDecode | ( | const std::string & | srcUri | ) |
Decodes an encoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm.
srcUri | URI to be decoded |
TECOREEXPORT std::string te::core::URIEncode | ( | const std::string & | srcUri | ) |
Encodes an decoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm.
srcUri | URI to be encoded |