![]() |
GL Studio C++ Runtime API
|
#include <image.h>
Public Member Functions | |
FileID () | |
FileID (const FilePathClass &path, const LoadOptions &loadOptions) | |
FileID (const FileID &src) | |
const FilePathClass & | GetPath () const |
const LoadOptions & | GetLoadOptions () const |
off_t | GetFileSize () const |
time_t | GetModTime () const |
bool | operator== (const FileID &rhs) const |
FileID & | operator= (const FileID &rhs) |
Static Public Member Functions | |
static FilePathClass | GetAbsoluteFilePath (const FilePathClass &imgPath) |
Protected Attributes | |
FilePathClass | _path |
LoadOptions | _loadOptions |
off_t | _fileSize |
time_t | _modTime |
holds absolute file path, file size, mod time and image load options
FileID | ( | ) |
default ctor - no file
FileID | ( | const FilePathClass & | path, |
const LoadOptions & | loadOptions | ||
) |
ctor
path | path for file ( can be relative or absolute, will ultimately be stored in the FileID as an absolute path ) |
loadOptions | image loading options for file |
|
static |
get the absolute path for the given path
imgPath | path in question |
off_t GetFileSize | ( | ) | const |
get the file size for the file
const LoadOptions & GetLoadOptions | ( | ) | const |
get the image load options for the file
time_t GetModTime | ( | ) | const |
get the modification time for the file
const FilePathClass & GetPath | ( | ) | const |
get the absolute path for the file
Assigment operator
rhs | The object to copy from. |
bool operator== | ( | const FileID & | rhs | ) | const |
|
protected |
size in bytes of image file
|
protected |
load options associated with image
|
protected |
file mod time for image file
|
protected |
absolute path for image file