sincerely Singaporean

If you have not done so, read this full tutorial on how to use SGEXTN to build an application.

SGXNumberAwareFilePathLesserThanBase16

see header file

see source file

class SGXNumberAwareFilePathLesserThanBase16;

part of SGEXTN module SG_FileSystem

sorts file paths in alphabetical order taking into account base16 numbers in file names

detailed description

list of all including inherited members

implementation details

preprocessor file inclusion directive: #include ‹SGXFileSystem.h›

CMake target for BuildLah: SGEXTN::SG_FileSystem

see this link for more information about BuildLah

parent class: (none)

children classes: (none)

instance member functions

[[nodiscard]] bool operator()(const SGXString& a, const SGXString& b);

Detailed Description

SGXNumberAwareFilePathLesserThanBase16 provides a comparator struct for sorting file paths in ascending alphabetical order for display to the user. This takes into account base16 numbers in file names, so fileF would be before file10.

Implementation Details

Uses SGXFileSystem::numberAwareLesserThanBase16

[[nodiscard]] bool operator()(const SGXString& a, const SGXString& b);

Returns if a should be in front of b.

The presence of operator() makes SGXNumberAwareFilePathLesserThanBase16 a functor.

Both uppercase and lowercase representations of non numerical base16 digits are accepted.

The file names are decoded before comparison.

©2025 05524F.sg (Singapore)

contact 05524F / report a bug / make a suggestion

about 05524F SINGAPORE values

list of 05524F projects