kodi
Public Member Functions | List of all members
CDataCacheCore::SContentInfo Struct Reference

Public Member Functions

void SetEditList (const std::vector< EDL::Edit > &editList)
 Set the EDL edit list in cache. More...
 
const std::vector< EDL::Edit > & GetEditList () const
 Get the EDL edit list in cache. More...
 
void SetCuts (const std::vector< int64_t > &cuts)
 Save the list of cut markers in cache. More...
 
const std::vector< int64_t > & GetCuts () const
 Get the list of cut markers in cache. More...
 
void SetSceneMarkers (const std::vector< int64_t > &sceneMarkers)
 Save the list of scene markers in cache. More...
 
const std::vector< int64_t > & GetSceneMarkers () const
 Get the list of scene markers in cache. More...
 
void SetChapters (const std::vector< std::pair< std::string, int64_t >> &chapters)
 Save the chapter list in cache. More...
 
const std::vector< std::pair< std::string, int64_t > > & GetChapters () const
 Get the list of chapters in cache. More...
 
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

◆ 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: