Cppcheck
Public Member Functions | Private Attributes | List of all members
FileWithDetails Class Reference

#include <filesettings.h>

Public Member Functions

 FileWithDetails (std::string path)
 
 FileWithDetails (std::string path, std::size_t size)
 
const std::string & path () const
 
std::size_t size () const
 

Private Attributes

std::string mPath
 
std::size_t mSize
 

Detailed Description

Definition at line 30 of file filesettings.h.

Constructor & Destructor Documentation

◆ FileWithDetails() [1/2]

FileWithDetails::FileWithDetails ( std::string  path)
inlineexplicit

Definition at line 33 of file filesettings.h.

◆ FileWithDetails() [2/2]

FileWithDetails::FileWithDetails ( std::string  path,
std::size_t  size 
)
inline

Definition at line 37 of file filesettings.h.

Member Function Documentation

◆ path()

const std::string& FileWithDetails::path ( ) const
inline

Definition at line 42 of file filesettings.h.

References mPath.

Referenced by FileLister::addFiles(), and FileSettings::filename().

◆ size()

std::size_t FileWithDetails::size ( ) const
inline

Definition at line 47 of file filesettings.h.

References mSize.

Member Data Documentation

◆ mPath

std::string FileWithDetails::mPath
private

Definition at line 52 of file filesettings.h.

Referenced by path().

◆ mSize

std::size_t FileWithDetails::mSize
private

Definition at line 53 of file filesettings.h.

Referenced by size().


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