MythTV  master
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
VideoMetadataListManagerImp Class Reference
Collaboration diagram for VideoMetadataListManagerImp:
[legend]

Public Types

using VideoMetadataPtr = VideoMetadataListManager::VideoMetadataPtr
 
using metadata_list = VideoMetadataListManager::metadata_list
 

Public Member Functions

void setList (metadata_list &list)
 
const metadata_listgetList () const
 
VideoMetadataPtr byFilename (const QString &file_name) const
 
VideoMetadataPtr byID (unsigned int db_id) const
 
bool purgeByFilename (const QString &file_name)
 
bool purgeByID (unsigned int db_id)
 

Private Types

using int_to_meta = std::map< unsigned int, metadata_list::iterator >
 
using string_to_meta = std::map< QString, metadata_list::iterator >
 

Private Member Functions

bool purge_entry (const VideoMetadataPtr &metadata)
 

Private Attributes

metadata_list m_metaList
 
int_to_meta m_idMap
 
string_to_meta m_fileMap
 

Detailed Description

Definition at line 7 of file videometadatalistmanager.cpp.

Member Typedef Documentation

◆ VideoMetadataPtr

Definition at line 10 of file videometadatalistmanager.cpp.

◆ metadata_list

Definition at line 11 of file videometadatalistmanager.cpp.

◆ int_to_meta

using VideoMetadataListManagerImp::int_to_meta = std::map<unsigned int, metadata_list::iterator>
private

Definition at line 14 of file videometadatalistmanager.cpp.

◆ string_to_meta

using VideoMetadataListManagerImp::string_to_meta = std::map<QString, metadata_list::iterator>
private

Definition at line 15 of file videometadatalistmanager.cpp.

Member Function Documentation

◆ setList()

void VideoMetadataListManagerImp::setList ( metadata_list list)
inline

Definition at line 18 of file videometadatalistmanager.cpp.

Referenced by VideoMetadataListManager::setList().

◆ getList()

const metadata_list& VideoMetadataListManagerImp::getList ( ) const
inline

Definition at line 32 of file videometadatalistmanager.cpp.

Referenced by VideoMetadataListManager::getList().

◆ byFilename()

VideoMetadataPtr VideoMetadataListManagerImp::byFilename ( const QString &  file_name) const
inline

◆ byID()

VideoMetadataPtr VideoMetadataListManagerImp::byID ( unsigned int  db_id) const
inline

Definition at line 49 of file videometadatalistmanager.cpp.

Referenced by VideoMetadataListManager::byID(), and purgeByID().

◆ purgeByFilename()

bool VideoMetadataListManagerImp::purgeByFilename ( const QString &  file_name)
inline

◆ purgeByID()

bool VideoMetadataListManagerImp::purgeByID ( unsigned int  db_id)
inline

Definition at line 65 of file videometadatalistmanager.cpp.

Referenced by VideoMetadataListManager::purgeByID().

◆ purge_entry()

bool VideoMetadataListManagerImp::purge_entry ( const VideoMetadataPtr metadata)
inlineprivate

Definition at line 71 of file videometadatalistmanager.cpp.

Referenced by purgeByFilename(), and purgeByID().

Member Data Documentation

◆ m_metaList

metadata_list VideoMetadataListManagerImp::m_metaList
private

Definition at line 95 of file videometadatalistmanager.cpp.

Referenced by getList(), purge_entry(), and setList().

◆ m_idMap

int_to_meta VideoMetadataListManagerImp::m_idMap
private

Definition at line 96 of file videometadatalistmanager.cpp.

Referenced by byID(), purge_entry(), and setList().

◆ m_fileMap

string_to_meta VideoMetadataListManagerImp::m_fileMap
private

Definition at line 97 of file videometadatalistmanager.cpp.

Referenced by byFilename(), purge_entry(), and setList().


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