#include <basicio.hpp>
Public Member Functions | |
Creators | |
| XPathIo (const std::string &orgPath) | |
| Default constructor that reads data from stdin/data uri path and writes them to the temp file. | |
| virtual | ~XPathIo () |
| Destructor. Releases all managed memory and removes the temp file. | |
Manipulators | |
| virtual void | transfer (BasicIo &src) |
| Change the name of the temp file and make it untemporary before calling the method of superclass FileIo::transfer. | |
Static Public Member Functions | |
Static methods | |
| static std::string | writeDataToFile (const std::string &orgPath) |
| Read the data from stdin/data uri path and write them to the file. | |
Static Public Attributes | |
| static const std::string | TEMP_FILE_EXT |
| The extension of the temporary file which is created when getting input data to read metadata. This file will be deleted in destructor. | |
| static const std::string | GEN_FILE_EXT |
| The extension of the generated file which is created when getting input data to add or modify the metadata. | |
| static std::string Exiv2::XPathIo::writeDataToFile | ( | const std::string & | orgPath | ) | [static] |
Read the data from stdin/data uri path and write them to the file.
| orgPath | It equals "-" if the input data's from stdin. Otherwise, it's data uri path. |
| Error | if it fails. |
1.5.6