Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
SortUtils.h File Reference
#include "DatabaseUtils.h"
#include "LabelFormatter.h"
#include "SortFileItem.h"
#include <map>
#include <memory>
#include <string>
#include <vector>

Classes

struct  SortDescription
 
struct  GUIViewSortDetails
 
class  SortUtils
 

Typedefs

typedef struct SortDescription SortDescription
 
typedef struct GUIViewSortDetails GUIViewSortDetails
 
typedef DatabaseResult SortItem
 
typedef std::shared_ptr< SortItemSortItemPtr
 
typedef std::vector< SortItemPtrSortItems
 

Enumerations

enum  SortOrder { SortOrderNone = 0 , SortOrderAscending , SortOrderDescending }
 
enum  SortAttribute {
  SortAttributeNone = 0x0 , SortAttributeIgnoreArticle = 0x1 , SortAttributeIgnoreFolders = 0x2 , SortAttributeUseArtistSortName = 0x4 ,
  SortAttributeIgnoreLabel = 0x8
}
 
enum  SortSpecial { SortSpecialNone = 0 , SortSpecialOnTop = 1 , SortSpecialOnBottom = 2 }
 
enum  SortBy {
  SortByNone = 0 , SortByLabel , SortByDate , SortBySize ,
  SortByFile , SortByPath , SortByDriveType , SortByTitle ,
  SortByTrackNumber , SortByTime , SortByArtist , SortByArtistThenYear ,
  SortByAlbum , SortByAlbumType , SortByGenre , SortByCountry ,
  SortByYear , SortByRating , SortByUserRating , SortByVotes ,
  SortByTop250 , SortByProgramCount , SortByPlaylistOrder , SortByEpisodeNumber ,
  SortBySeason , SortByNumberOfEpisodes , SortByNumberOfWatchedEpisodes , SortByTvShowStatus ,
  SortByTvShowTitle , SortBySortTitle , SortByProductionCode , SortByMPAA ,
  SortByVideoResolution , SortByVideoCodec , SortByVideoAspectRatio , SortByAudioChannels ,
  SortByAudioCodec , SortByAudioLanguage , SortBySubtitleLanguage , SortByStudio ,
  SortByDateAdded , SortByLastPlayed , SortByPlaycount , SortByListeners ,
  SortByBitrate , SortByRandom , SortByChannel , SortByChannelNumber ,
  SortByDateTaken , SortByRelevance , SortByInstallDate , SortByLastUpdated ,
  SortByLastUsed , SortByClientChannelOrder , SortByTotalDiscs , SortByOrigDate ,
  SortByBPM , SortByOriginalTitle , SortByProvider , SortByUserPreference
}
 

Typedef Documentation

◆ GUIViewSortDetails

typedef struct GUIViewSortDetails GUIViewSortDetails

◆ SortDescription

typedef struct SortDescription SortDescription

◆ SortItem

◆ SortItemPtr

typedef std::shared_ptr<SortItem> SortItemPtr

◆ SortItems

typedef std::vector<SortItemPtr> SortItems

Enumeration Type Documentation

◆ SortAttribute

Enumerator
SortAttributeNone 
SortAttributeIgnoreArticle 
SortAttributeIgnoreFolders 
SortAttributeUseArtistSortName 
SortAttributeIgnoreLabel 

◆ SortOrder

enum SortOrder
Enumerator
SortOrderNone 
SortOrderAscending 
SortOrderDescending 

◆ SortSpecial

Enumerator
SortSpecialNone 
SortSpecialOnTop 
SortSpecialOnBottom