path related info storage for impl, actual meaning of the info depends on impl More...
#include <ZFPathInfo.h>
Public Member Functions | |
| ZFPathInfo & | pathType (const zfstring &pathType) |
| path type, normal file or res file, etc | |
| const zfstring & | pathType (void) const |
| path type, normal file or res file, etc | |
| ZFPathInfo & | pathData (const zfstring &pathData) |
| path value, such as local relative path or http url, etc | |
| const zfstring & | pathData (void) const |
| path value, such as local relative path or http url, etc | |
| zfbool | isEmpty (void) const |
| true if pathType and pathData is both empty | |
| void | removeAll (void) |
| util to remove pathType and pathData | |
path related info storage for impl, actual meaning of the info depends on impl
recommend to use ZFIO_DECLARE/ZFIO_DEFINE for each of your path type
path info may describe any abstract files, including:
all file IO are abstracted as these operation:
with all the things above, app can achieve IO operations without knowing the underlying file types