file info.
More...
#include <ufile.hpp>
|
| enum | PrefixType { LOCAL,
SSH,
HTTP,
FTP
} |
| |
|
|
| UFileInfo (const UStr &path) |
| | sets fileinfo data for this path and stores path as a name.
|
| |
|
| UFileInfo (const char *fullpath, const char *fname) |
| | sets fileinfo data for fullpath and stores fname as a name.
|
| |
|
void | setPath (const UStr &path) |
| | resets fileinfo data for this path.
|
| |
|
const UStr * | getFileName () const |
| | returns the file name (without the path).
|
| |
|
unsigned long | getSize () const |
| |
|
unsigned long | getModTime () const |
| |
| UIma & | getIconImage () const |
| | return an image that characterizes this file type. More...
|
| |
| UIma & | getMiniIconImage () const |
| | return an mini image that characterizes this file type. More...
|
| |
|
void | getInfoString (UStr &str) const |
| | copies infos in str.
|
| |
|
| UFileMode (const UStr &pathname) |
| |
|
bool | isValid () const |
| |
|
bool | isDir () const |
| |
|
bool | isFile () const |
| |
|
bool | isLink () const |
| |
|
bool | isExec () const |
| |
|
int | getMode () const |
| |
|
|
void | stat (const char *path) |
| |
|
|
unsigned long | size |
| |
|
unsigned long | modtime |
| |
|
uptr< UStr > | pname |
| |
|
int | mode |
| |
|
|
class | UFileDir |
| |
|
class | UFilebox |
| |
|
|
static const int | DIR = S_IFDIR |
| |
|
static const int | FILE = S_IFREG |
| |
|
static const int | LINK = S_IFLNK |
| | modes
|
| |
§ getIconImage()
| UIma & ubit::UFileInfo::getIconImage |
( |
| ) |
const |
return an image that characterizes this file type.
the returned image is shared and can't be deleted.
§ getMiniIconImage()
| UIma & ubit::UFileInfo::getMiniIconImage |
( |
| ) |
const |
return an mini image that characterizes this file type.
the returned image is shared and can't be deleted.
The documentation for this class was generated from the following files: