JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::File::NaturalFileComparator Struct Reference

Comparator for files. More...

#include <juce_File.h>

Collaboration diagram for juce::File::NaturalFileComparator:

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

juce::File::NaturalFileComparator::NaturalFileComparator ( bool  shouldPutFoldersFirst)
inlinenoexcept

Member Function Documentation

◆ compareElements()

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

Member Data Documentation

◆ foldersFirst

bool juce::File::NaturalFileComparator::foldersFirst

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