Exiv2::XPathIo Class Reference

Provides binary IO for the data from stdin and data uri path. More...

#include <basicio.hpp>

Inheritance diagram for Exiv2::XPathIo:
[legend]
Collaboration diagram for Exiv2::XPathIo:
[legend]

List of all members.

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.


Detailed Description

Provides binary IO for the data from stdin and data uri path.

Member Function Documentation

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.

Parameters:
orgPath It equals "-" if the input data's from stdin. Otherwise, it's data uri path.
Returns:
the name of the new file.
Exceptions:
Error if it fails.


The documentation for this class was generated from the following file:

Generated on Wed Sep 21 11:37:06 2016 for Exiv2 by  doxygen 1.5.6