Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDataCacheCore::SContentInfo Struct Reference

#include <DataCacheCore.h>

Public Member Functions

void SetEditList (const std::vector< EDL::Edit > &editList)
 Set the EDL edit list in cache.
 
const std::vector< EDL::Edit > & GetEditList () const
 Get the EDL edit list in cache.
 
void SetCuts (const std::vector< int64_t > &cuts)
 Save the list of cut markers in cache.
 
const std::vector< int64_t > & GetCuts () const
 Get the list of cut markers in cache.
 
void SetSceneMarkers (const std::vector< int64_t > &sceneMarkers)
 Save the list of scene markers in cache.
 
const std::vector< int64_t > & GetSceneMarkers () const
 Get the list of scene markers in cache.
 
void SetChapters (const std::vector< std::pair< std::string, int64_t > > &chapters)
 Save the chapter list in cache.
 
const std::vector< std::pair< std::string, int64_t > > & GetChapters () const
 Get the list of chapters in cache.
 
void Reset ()
 Reset the content cache to the original values (all empty)
 

Member Function Documentation

◆ GetChapters()

const std::vector< std::pair< std::string, int64_t > > & CDataCacheCore::SContentInfo::GetChapters ( ) const
inline

Get the list of chapters in cache.

Returns
the list of chapters in cache

◆ GetCuts()

const std::vector< int64_t > & CDataCacheCore::SContentInfo::GetCuts ( ) const
inline

Get the list of cut markers in cache.

Returns
the list of cut markers in cache

◆ GetEditList()

const std::vector< EDL::Edit > & CDataCacheCore::SContentInfo::GetEditList ( ) const
inline

Get the EDL edit list in cache.

Returns
the list of edits in cache

◆ GetSceneMarkers()

const std::vector< int64_t > & CDataCacheCore::SContentInfo::GetSceneMarkers ( ) const
inline

Get the list of scene markers in cache.

Returns
the list of scene markers in cache

◆ Reset()

void CDataCacheCore::SContentInfo::Reset ( )
inline

Reset the content cache to the original values (all empty)

◆ SetChapters()

void CDataCacheCore::SContentInfo::SetChapters ( const std::vector< std::pair< std::string, int64_t > > & chapters)
inline

Save the chapter list in cache.

Parameters
chaptersthe list of chapters to store in cache

◆ SetCuts()

void CDataCacheCore::SContentInfo::SetCuts ( const std::vector< int64_t > & cuts)
inline

Save the list of cut markers in cache.

Parameters
cutsthe list of cut markers to store in cache

◆ SetEditList()

void CDataCacheCore::SContentInfo::SetEditList ( const std::vector< EDL::Edit > & editList)
inline

Set the EDL edit list in cache.

Parameters
editListthe list of edits to store in cache

◆ SetSceneMarkers()

void CDataCacheCore::SContentInfo::SetSceneMarkers ( const std::vector< int64_t > & sceneMarkers)
inline

Save the list of scene markers in cache.

Parameters
sceneMarkersthe list of scene markers to store in cache

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