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

#include <videometadatalistmanager.h>

Collaboration diagram for VideoMetadataListManager:
Collaboration graph
[legend]

Public Types

typedef simple_ref_ptr< VideoMetadataVideoMetadataPtr
 
typedef std::list< VideoMetadataPtrmetadata_list
 

Public Member Functions

 VideoMetadataListManager ()
 
 ~VideoMetadataListManager ()
 
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)
 

Static Public Member Functions

static VideoMetadataPtr loadOneFromDatabase (uint id)
 
static void loadAllFromDatabase (metadata_list &items, const QString &sql="")
 Load videometadata database into memory. More...
 

Private Attributes

class VideoMetadataListManagerImpm_imp {nullptr}
 

Detailed Description

Definition at line 10 of file videometadatalistmanager.h.

Member Typedef Documentation

◆ VideoMetadataPtr

Definition at line 13 of file videometadatalistmanager.h.

◆ metadata_list

Definition at line 14 of file videometadatalistmanager.h.

Constructor & Destructor Documentation

◆ VideoMetadataListManager()

VideoMetadataListManager::VideoMetadataListManager ( )

Definition at line 100 of file videometadatalistmanager.cpp.

◆ ~VideoMetadataListManager()

VideoMetadataListManager::~VideoMetadataListManager ( )

Definition at line 105 of file videometadatalistmanager.cpp.

Member Function Documentation

◆ loadOneFromDatabase()

VideoMetadataListManager::VideoMetadataPtr VideoMetadataListManager::loadOneFromDatabase ( uint  id)
static

◆ loadAllFromDatabase()

void VideoMetadataListManager::loadAllFromDatabase ( metadata_list items,
const QString &  sql = "" 
)
static

◆ setList()

void VideoMetadataListManager::setList ( metadata_list list)

◆ getList()

const VideoMetadataListManager::metadata_list & VideoMetadataListManager::getList ( ) const

◆ byFilename()

VideoMetadataListManager::VideoMetadataPtr VideoMetadataListManager::byFilename ( const QString &  file_name) const

Definition at line 171 of file videometadatalistmanager.cpp.

Referenced by VideoMetadata::FillDataFromFilename().

◆ byID()

VideoMetadataListManager::VideoMetadataPtr VideoMetadataListManager::byID ( unsigned int  db_id) const

◆ purgeByFilename()

bool VideoMetadataListManager::purgeByFilename ( const QString &  file_name)

Definition at line 182 of file videometadatalistmanager.cpp.

◆ purgeByID()

bool VideoMetadataListManager::purgeByID ( unsigned int  db_id)

Member Data Documentation

◆ m_imp

class VideoMetadataListManagerImp* VideoMetadataListManager::m_imp {nullptr}
private

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