digiKam
Digikam::UndoCache Class Reference

Public Member Functions

void clear ()
 
void clearFrom (int level)
 
DImg getData (int level) const
 
bool putData (int level, const DImg &img) const
 
 UndoCache ()
 
 ~UndoCache ()
 

Constructor & Destructor Documentation

◆ UndoCache()

Digikam::UndoCache::UndoCache ( )
explicit

◆ ~UndoCache()

Digikam::UndoCache::~UndoCache ( )

References clear().

Member Function Documentation

◆ clear()

void Digikam::UndoCache::clear ( )

Delete all cache files

Referenced by ~UndoCache().

◆ clearFrom()

void Digikam::UndoCache::clearFrom ( int  level)

Delete all cache files starting from the given level upwards

◆ getData()

DImg Digikam::UndoCache::getData ( int  level) const

Get the image data from a cache file

References Digikam::DImg::bits(), Digikam::DImg::isNull(), and Digikam::DImg::numBytes().

◆ putData()

bool Digikam::UndoCache::putData ( int  level,
const DImg img 
) const

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