Public Member Functions | Public Attributes | List of all members
File::NaturalFileComparator Struct Reference

Comparator for files. More...

Public Member Functions

 NaturalFileComparator (bool shouldPutFoldersFirst) noexcept
 
int compareElements (const File &firstFile, const File &secondFile) const
 

Public Attributes

bool foldersFirst
 

Detailed Description

Comparator for files.

Constructor & Destructor Documentation

◆ NaturalFileComparator()

File::NaturalFileComparator::NaturalFileComparator ( bool  shouldPutFoldersFirst)
noexcept

Member Function Documentation

◆ compareElements()

int File::NaturalFileComparator::compareElements ( const File firstFile,
const File secondFile 
) const

Member Data Documentation

◆ foldersFirst

bool File::NaturalFileComparator::foldersFirst

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