#include <image.h>
◆ FileIDArray
◆ InstanceListEntry()
ctor
- Parameters
-
img | image for list entry |
imgPath | [optional, defaults to ""] optional path to image file associated with image |
imgLoadOptions | [optional] optional load options associated with image |
◆ ~InstanceListEntry()
dtor – NOTE: image associated with entry is not destroyed
◆ AssociateFileWithImage()
void AssociateFileWithImage |
( |
const FileID & |
fileID | ) |
|
associate the given fileID with the image in this entry
- Parameters
-
fileID | file ID in question |
◆ DisassociateFileWithImage()
void DisassociateFileWithImage |
( |
const FileID & |
fileID | ) |
|
disassociate the given fileID with the image in this entry
- Parameters
-
fileID | file ID in question |
◆ FileIsAssociatedWithImage()
bool FileIsAssociatedWithImage |
( |
const FileID & |
fileID, |
|
|
FileID & |
foundFileID |
|
) |
| |
determine if the given fileID is associated with this entry
- Parameters
-
fileID | file ID in question |
foundFileID | [out] receives associated file ID if the given fileID is associated with this entry |
- Returns
- true if the given fileID is associated with this entry else false
◆ GetAssociatedFiles()
get the image files associated with the entry
- Returns
- the image files associated with the entry
◆ GetImage()
get the image associated with the entry
- Returns
- the image associated with the entry
◆ ReloadImageFromFile()
bool ReloadImageFromFile |
( |
| ) |
|
Attempt to reload the associated image from an associated image file. Associated image will be marked as no longer being a candidate for unloading. NOTE: Image::InstanceListMutex() cannot be locked when calling this method
- Returns
- true if reload succeeded else false
- Precondition
- Image::InstanceListMutex() is not locked
◆ _associatedFiles
files associated with image else empty array
◆ _img
image associated with entry
The documentation for this class was generated from the following file: