Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
ImGuiFs::SortingHelper Class Reference

Public Types

typedef int(* SorterSignature) (const struct dirent **e1, const struct dirent **e2)
 

Static Public Member Functions

static const SorterSignatureSetSorter (Sorting sorting)
 

Protected Member Functions

 SortingHelper ()
 

Static Protected Member Functions

static int Alphasort (const struct dirent **e1, const struct dirent **e2)
 
static int Alphasortinverse (const struct dirent **e1, const struct dirent **e2)
 
static int Lastmodsort (const struct dirent **e1, const struct dirent **e2)
 
static int Lastmodsortinverse (const struct dirent **e1, const struct dirent **e2)
 
static int Sizesort (const struct dirent **e1, const struct dirent **e2)
 
static int Sizesortinverse (const struct dirent **e1, const struct dirent **e2)
 
static int Typesort (const struct dirent **e1, const struct dirent **e2)
 
static int Typesortinverse (const struct dirent **e1, const struct dirent **e2)
 

Static Protected Attributes

static const SorterSignature Sorters [] = {&SortingHelper::Alphasort,&SortingHelper::Alphasortinverse,&SortingHelper::Lastmodsort,&SortingHelper::Lastmodsortinverse,&SortingHelper::Sizesort,&SortingHelper::Sizesortinverse,&SortingHelper::Typesort,&SortingHelper::Typesortinverse}
 
static struct stat stat1
 
static struct stat stat2
 
static SorterSignature sorter
 

Detailed Description

Definition at line 492 of file imguifilesystem.cpp.

Member Typedef Documentation

◆ SorterSignature

typedef int(* ImGuiFs::SortingHelper::SorterSignature) (const struct dirent **e1, const struct dirent **e2)

Definition at line 494 of file imguifilesystem.cpp.

Constructor & Destructor Documentation

◆ SortingHelper()

ImGuiFs::SortingHelper::SortingHelper ( )
inlineprotected

Definition at line 501 of file imguifilesystem.cpp.

Member Function Documentation

◆ Alphasort()

static int ImGuiFs::SortingHelper::Alphasort ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 507 of file imguifilesystem.cpp.

◆ Alphasortinverse()

static int ImGuiFs::SortingHelper::Alphasortinverse ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 510 of file imguifilesystem.cpp.

◆ Lastmodsort()

static int ImGuiFs::SortingHelper::Lastmodsort ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 514 of file imguifilesystem.cpp.

◆ Lastmodsortinverse()

static int ImGuiFs::SortingHelper::Lastmodsortinverse ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 519 of file imguifilesystem.cpp.

◆ SetSorter()

static const SorterSignature & ImGuiFs::SortingHelper::SetSorter ( Sorting  sorting)
inlinestatic

Definition at line 495 of file imguifilesystem.cpp.

◆ Sizesort()

static int ImGuiFs::SortingHelper::Sizesort ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 524 of file imguifilesystem.cpp.

◆ Sizesortinverse()

static int ImGuiFs::SortingHelper::Sizesortinverse ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 529 of file imguifilesystem.cpp.

◆ Typesort()

static int ImGuiFs::SortingHelper::Typesort ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 535 of file imguifilesystem.cpp.

◆ Typesortinverse()

static int ImGuiFs::SortingHelper::Typesortinverse ( const struct dirent **  e1,
const struct dirent **  e2 
)
inlinestaticprotected

Definition at line 543 of file imguifilesystem.cpp.

Member Data Documentation

◆ sorter

SortingHelper::SorterSignature ImGuiFs::SortingHelper::sorter
staticprotected

Definition at line 505 of file imguifilesystem.cpp.

◆ Sorters

◆ stat1

struct stat ImGuiFs::SortingHelper::stat1
staticprotected

Definition at line 503 of file imguifilesystem.cpp.

◆ stat2

struct stat ImGuiFs::SortingHelper::stat2
staticprotected

Definition at line 504 of file imguifilesystem.cpp.


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