Exiv2
Classes | Protected Member Functions

Exiv2::HttpIo Class Reference

Provides the http read/write access for the RemoteIo. More...

#include <basicio.hpp>

Inheritance diagram for Exiv2::HttpIo:
Collaboration diagram for Exiv2::HttpIo:

List of all members.

Classes

class  HttpImpl
 Internal Pimpl structure of class HttpIo. More...

Protected Member Functions

 HttpIo (HttpIo &rhs)
 Copy constructor.
HttpIo & operator= (const HttpIo &rhs)
 Assignment operator.

Creators

 HttpIo (const std::string &url, size_t blockSize=1024)
 Constructor that accepts the http URL on which IO will be performed. The constructor does not open the file, and therefore never failes.
virtual ~HttpIo ()
 Default Destructor.

Detailed Description

Provides the http read/write access for the RemoteIo.


Constructor & Destructor Documentation

Exiv2::HttpIo::HttpIo ( const std::string &  url,
size_t  blockSize = 1024 
)

Constructor that accepts the http URL on which IO will be performed. The constructor does not open the file, and therefore never failes.

Parameters:
urlThe full path of url
blockSizethe size of the memory block. The file content is divided into the memory blocks. These blocks are populated on demand from the server, so it avoids copying the complete file.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines