XLE
v0.02.0
|
Container for a asset filename in string format More...
#include <AssetUtils.h>
Public Member Functions | |
const ResChar * | get () const |
const bool | IsGood () const |
Public Attributes | |
ResChar | _fn [MaxPath] |
Container for a asset filename in string format
Just a simple generalisation of a path and file name in char array form. Avoids scattering references to ResChar and MaxPath about the code (and provide some future-proof-ness).
Note that in this form there is a strict limit on the max length of and asset file name. This is in line with the MAX_PATH soft limit on some filesystems and standard library implementations... But most filesystems can actually support much longer path names (even if an individual directory name or filename is limited)