GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::find_file_less_than Class Reference
Collaboration diagram for octave::find_file_less_than:

Public Member Functions

 find_file_less_than (int ord)
 
QVariant getValue (const QFileInfo &f) const
 
bool lessThan (const QVariant &left, const QVariant &right) const
 
bool operator() (const QFileInfo &left, const QFileInfo &right) const
 

Private Attributes

int m_sortorder
 

Detailed Description

Definition at line 34 of file find-files-model.cc.

Constructor & Destructor Documentation

◆ find_file_less_than()

octave::find_file_less_than::find_file_less_than ( int  ord)
inline

Definition at line 38 of file find-files-model.cc.

References m_sortorder.

Member Function Documentation

◆ getValue()

QVariant octave::find_file_less_than::getValue ( const QFileInfo &  f) const
inline

Definition at line 40 of file find-files-model.cc.

References f, m_sortorder, and val.

Referenced by operator()().

◆ lessThan()

bool octave::find_file_less_than::lessThan ( const QVariant &  left,
const QVariant &  right 
) const
inline

Definition at line 63 of file find-files-model.cc.

References left, and right.

Referenced by operator()().

◆ operator()()

bool octave::find_file_less_than::operator() ( const QFileInfo &  left,
const QFileInfo &  right 
) const
inline

Definition at line 69 of file find-files-model.cc.

References getValue(), left, lessThan(), m_sortorder, and right.

Member Data Documentation

◆ m_sortorder

int octave::find_file_less_than::m_sortorder
private

Definition at line 82 of file find-files-model.cc.

Referenced by find_file_less_than(), getValue(), and operator()().


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