BusBoy
2
|
Manages storage of a temp file on local disk. More...
#include <LocalTempFile.h>
Public Member Functions | |
LocalTempFile (const std::string &dir, const std::string &name) | |
std::string | getPath () const |
void | deleteFile () |
void | copyFrom (DataFile &dataFile) |
DataFile * | toDataFile (const std::string &contentType) |
~LocalTempFile () | |
Manages storage of a temp file on local disk.
BUSBOY::LocalTempFile::LocalTempFile | ( | const std::string & | dir, |
const std::string & | name | ||
) |
BUSBOY::LocalTempFile::~LocalTempFile | ( | ) |
void BUSBOY::LocalTempFile::copyFrom | ( | DataFile & | dataFile | ) |
void BUSBOY::LocalTempFile::deleteFile | ( | ) |
std::string BUSBOY::LocalTempFile::getPath | ( | ) | const |
DataFile * BUSBOY::LocalTempFile::toDataFile | ( | const std::string & | contentType | ) |
Copyright 2014 Google Inc. All rights reserved.