ImageCore indicates the basic image core utils, by providing the loadable image path.
More...
#include <ImageCore.h>
|
| ImageCore ()=default |
| ImageCore.
|
|
void | enImages (const QStringList &l) |
| enImages input images
|
|
void | removeImages (const QStringList &what) |
| removeImages remove images
|
|
std::optional< QString > | peek (const int index) |
| peek get the index to and fetch result
|
|
ErrorType | errorType () const |
| errorType get the errorType
|
|
int | size () const |
| size get the image size
|
|
bool | empty () const |
| empty check if empty now
|
|
void | clear () |
| clear clears up the holdings
|
|
int | index (const QString &path) |
| fetch the index of holding path
|
|
ImageCore indicates the basic image core utils, by providing the loadable image path.
◆ ErrorType
The ErrorType enum.
Enumerator |
---|
NOTHING_THEN | OK.
|
IMAGEREQ_OVERFLOW | overflow request
|
IMAGEREQ_UNDERFLOW | underflow request
|
◆ empty()
bool ImageCore::empty |
( |
| ) |
const |
|
inline |
empty check if empty now
- Returns
- is empty?
◆ enImages()
void ImageCore::enImages |
( |
const QStringList & |
l | ) |
|
|
inline |
enImages input images
- Parameters
-
◆ errorType()
errorType get the errorType
- Returns
- errorType
◆ index()
int ImageCore::index |
( |
const QString & |
path | ) |
|
|
inline |
fetch the index of holding path
- Parameters
-
- Returns
- int
◆ peek()
std::optional< QString > ImageCore::peek |
( |
const int |
index | ) |
|
peek get the index to and fetch result
- Parameters
-
- Returns
- possible path
- Note
- if failed, you need to query the errorType to see the details
◆ removeImages()
void ImageCore::removeImages |
( |
const QStringList & |
what | ) |
|
removeImages remove images
- Parameters
-
◆ size()
int ImageCore::size |
( |
| ) |
const |
|
inline |
size get the image size
- Returns
- image size
The documentation for this class was generated from the following files:
- builtin/app/ImageWalker/core/ImageCore.h
- builtin/app/ImageWalker/core/ImageCore.cpp