|
|
| ImageDatabase (const ImageDatabase &)=delete |
| | Disable copy constructor.
|
|
| ImageDatabase (ImageDatabase &&)=default |
| | Default move constructor noexcept is deduced.
|
| ImageDatabase & | operator= (const ImageDatabase &img)=delete |
| | Delete copy assignment.
|
| ImageDatabase & | operator= (ImageDatabase &&img)=default |
| | Default move assignment noexcept is deduced.
|
| Image | getImageById (unsigned id) const noexcept |
| | Obtain the image by providing the ID.
|
| Image | getImageByIndex (int index) const noexcept |
| | Obtain the image by providing the image index.
|
| int | getImageCount () const noexcept |
| | Get the number of images.
|
| Image | import (DataBuffer const &data, int format) noexcept |
| | Import a new image from file.
|
| int | import (const String &path) noexcept |
| | Import icons from the given database path.
|
| int | remove (unsigned id) noexcept |
| | Remove an image from the database by providing the id.
|
| template<typename TCollector> |
| bool | iterateImages (TCollector collector) const noexcept |
| | Iterate all images in the database.
|
ImageDatabase object.
Manager of the image database.
Implements share read/write Api object over IIconDatabase.
This behaves like a singleton, i.e. all instances are shared behind the same API interface