MythTV  master
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
VideoMetadataListManagerImp Class Reference

Public Types

typedef VideoMetadataListManager::VideoMetadataPtr VideoMetadataPtr
 
typedef VideoMetadataListManager::metadata_list 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

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

Private Member Functions

bool purge_entry (const VideoMetadataPtr &metadata)
 

Private Attributes

metadata_list m_meta_list
 
int_to_meta m_id_map
 
string_to_meta m_file_map
 

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

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

Definition at line 14 of file videometadatalistmanager.cpp.

◆ string_to_meta

typedef std::map<QString, metadata_list::iterator> VideoMetadataListManagerImp::string_to_meta
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 33 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 64 of file videometadatalistmanager.cpp.

Referenced by VideoMetadataListManager::purgeByID().

◆ purge_entry()

bool VideoMetadataListManagerImp::purge_entry ( const VideoMetadataPtr metadata)
inlineprivate

Definition at line 70 of file videometadatalistmanager.cpp.

Referenced by purgeByFilename(), and purgeByID().

Member Data Documentation

◆ m_meta_list

metadata_list VideoMetadataListManagerImp::m_meta_list
private

Definition at line 95 of file videometadatalistmanager.cpp.

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

◆ m_id_map

int_to_meta VideoMetadataListManagerImp::m_id_map
private

Definition at line 96 of file videometadatalistmanager.cpp.

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

◆ m_file_map

string_to_meta VideoMetadataListManagerImp::m_file_map
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: