filesaver
|
Wrap filename and size. More...
#include <FileSizePair.h>
Public Member Functions | |
FileSizePair (std::string _filename, off_t _size, std::shared_ptr< FileEntry > entry) | |
const std::string & | getFilename () const |
off_t | getSize () const |
std::shared_ptr< FileEntry > | getEntry () const |
Wrap filename and size.
Definition at line 17 of file FileSizePair.h.
filesaver::FileSizePair::FileSizePair | ( | std::string | _filename, |
off_t | _size, | ||
std::shared_ptr< FileEntry > | entry | ||
) |
Definition at line 12 of file FileSizePair.cpp.
std::shared_ptr< FileEntry > filesaver::FileSizePair::getEntry | ( | ) | const |
Definition at line 27 of file FileSizePair.cpp.
const std::string & filesaver::FileSizePair::getFilename | ( | ) | const |
Definition at line 17 of file FileSizePair.cpp.
off_t filesaver::FileSizePair::getSize | ( | ) | const |
Definition at line 22 of file FileSizePair.cpp.