![]() |
Exiv2
|
Basic file utility functions required by Exiv2. More...
#include "exiv2lib_export.h"
#include "config.h"
#include <string>
Go to the source code of this file.
Classes | |
class | Exiv2::Uri |
A container for URL components. It also provides the method to parse a URL to get the protocol, host, path, port, querystring, username, password. More... | |
Namespaces | |
Exiv2 | |
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace. | |
Enumerations | |
enum | Exiv2::EnVar { envHTTPPOST = 0, envTIMEOUT = 1 } |
the name of environmental variables. | |
enum | Exiv2::Protocol { pFile = 0, pHttp, pFtp, pHttps, pSftp, pSsh, pFileUri, pDataUri, pStdin } |
the collection of protocols. | |
Functions | |
EXIV2API std::string | Exiv2::getEnv (int env_var) |
Return the value of environmental variable. More... | |
EXIV2API std::string | Exiv2::urlencode (const char *str) |
Encode the input url. More... | |
EXIV2API char * | Exiv2::urldecode (const char *str) |
Decode the input url. More... | |
EXIV2API void | Exiv2::urldecode (std::string &str) |
Like urlencode(char* str) but accept the input url in the std::string and modify it. More... | |
EXIV2API int | Exiv2::base64encode (const void *data_buf, size_t dataLength, char *result, size_t resultSize) |
Encode in base64 the data in data_buf and put the resulting string in result. More... | |
EXIV2API long | Exiv2::base64decode (const char *in, char *out, size_t out_size) |
Decode base64 data and put the resulting string in out. More... | |
EXIV2API Protocol | Exiv2::fileProtocol (const std::string &path) |
Return the protocol of the path. More... | |
EXIV2API bool | Exiv2::fileExists (const std::string &path, bool ct=false) |
Test if a file exists. More... | |
EXIV2API std::string | Exiv2::pathOfFileUrl (const std::string &url) |
Get the path of file URL. More... | |
EXIV2API std::string | Exiv2::strError () |
Return a system error message and the error code (errno). See strerror(3). | |
EXIV2API std::string | Exiv2::getProcessPath () |
Return the path of the current process. | |