filesaver
filesaver::FileSizePair Class Reference

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< FileEntrygetEntry () const
 

Detailed Description

Wrap filename and size.

Definition at line 17 of file FileSizePair.h.

Constructor & Destructor Documentation

◆ FileSizePair()

filesaver::FileSizePair::FileSizePair ( std::string  _filename,
off_t  _size,
std::shared_ptr< FileEntry entry 
)

Definition at line 12 of file FileSizePair.cpp.

Member Function Documentation

◆ getEntry()

std::shared_ptr< FileEntry > filesaver::FileSizePair::getEntry ( ) const

Definition at line 27 of file FileSizePair.cpp.

◆ getFilename()

const std::string & filesaver::FileSizePair::getFilename ( ) const

Definition at line 17 of file FileSizePair.cpp.

◆ getSize()

off_t filesaver::FileSizePair::getSize ( ) const

Definition at line 22 of file FileSizePair.cpp.


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