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

A container of images/dirs that have been marked. More...

#include <galleryviews.h>

Inheritance diagram for MarkedFiles:
Inheritance graph
[legend]
Collaboration diagram for MarkedFiles:
Collaboration graph
[legend]

Public Member Functions

 MarkedFiles ()=default
 
void Initialise (int id)
 
void Clear ()
 
bool IsFor (int id) const
 
void Add (const ImageIdList &newIds)
 
void Add (int id)
 
void Invert (const ImageIdList &all)
 

Private Attributes

bool m_valid {false}
 
int m_parent {0}
 

Detailed Description

A container of images/dirs that have been marked.

Definition at line 34 of file galleryviews.h.

Constructor & Destructor Documentation

◆ MarkedFiles()

MarkedFiles::MarkedFiles ( )
default

Member Function Documentation

◆ Initialise()

void MarkedFiles::Initialise ( int  id)
inline

Definition at line 38 of file galleryviews.h.

Referenced by DirectoryView::SetDirectory().

◆ Clear()

void MarkedFiles::Clear ( )
inline

◆ IsFor()

bool MarkedFiles::IsFor ( int  id) const
inline

Definition at line 40 of file galleryviews.h.

Referenced by DirectoryView::SetDirectory().

◆ Add() [1/2]

void MarkedFiles::Add ( const ImageIdList newIds)

Definition at line 30 of file galleryviews.cpp.

Referenced by DirectoryView::Mark(), and DirectoryView::MarkAll().

◆ Add() [2/2]

void MarkedFiles::Add ( int  id)
inline

Definition at line 42 of file galleryviews.h.

◆ Invert()

void MarkedFiles::Invert ( const ImageIdList all)

Definition at line 36 of file galleryviews.cpp.

Referenced by DirectoryView::InvertMarked().

Member Data Documentation

◆ m_valid

bool MarkedFiles::m_valid {false}
private

Definition at line 46 of file galleryviews.h.

Referenced by Clear(), Initialise(), and IsFor().

◆ m_parent

int MarkedFiles::m_parent {0}
private

Definition at line 47 of file galleryviews.h.

Referenced by Initialise(), and IsFor().


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