|
Exiv2
|
Basic file utility functions required by Exiv2. More...
Include dependency graph for futils.hpp:
This graph shows which files directly or indirectly include 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 | |
| std::string | Exiv2::getEnv (EnVar var) |
| Return the value of environmental variable. More... | |
| char | Exiv2::to_hex (char code) |
| Convert an integer value to its hex character. More... | |
| char | Exiv2::from_hex (char ch) |
| Convert a hex character to its integer value. More... | |
| char * | Exiv2::urlencode (char *str) |
| Encode the input url. More... | |
| char * | Exiv2::urldecode (const char *str) |
| Decode the input url. More... | |
| void | Exiv2::urldecode (std::string &str) |
| Like urlencode(char* str) but accept the input url in the std::string and modify it. | |
| 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... | |
| long | Exiv2::base64decode (const char *in, char *out, size_t out_size) |
| Decode base64 data and put the resulting string in out. More... | |
| Protocol | Exiv2::fileProtocol (const std::string &path) |
| Return the protocol of the path. More... | |
| bool | Exiv2::fileExists (const std::string &path, bool ct=false) |
| Test if a file exists. More... | |
| std::string | Exiv2::pathOfFileUrl (const std::string &url) |
| Get the path of file URL. More... | |
| std::string | Exiv2::strError () |
| Return a system error message and the error code (errno). See strerror(3). | |
1.8.13