Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
FileNameComparison Class Reference

#include <xmipp_filename.h>

Public Member Functions

bool operator() (const FileName &fn1, const FileName &fn2)
 

Detailed Description

This class is used for comparing filenames.

Example: "g0ta00001.xmp" is less than "g0ta00002.xmp"

This class is needed to define a std::map as map<FileName,FileName,FileNameComparison> myMap;

This function is not ported to Python.

Definition at line 736 of file xmipp_filename.h.

Member Function Documentation

◆ operator()()

bool FileNameComparison::operator() ( const FileName fn1,
const FileName fn2 
)
inline

Definition at line 739 of file xmipp_filename.h.

740  {
741  return fn1<fn2;
742  }

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