|
ubit
|
File Directory. More...
#include <ufile.hpp>
Public Member Functions | |
| UFileDir (const UStr &path) | |
| void | read (const UStr &path) |
| reads this directory and gets file entries. More... | |
| void | read (const UStr &path, const UStr &prefix, const UStr &filter, bool with_dot_files) |
| reads this directory and gets file entries. More... | |
| void | readRemote (const UStr &path, const UStr &prefix, const UStr &filter, bool with_dot_files) |
| reads a remote directory and gets file entries. More... | |
| const UStr & | getPath () const |
| returns the full pathname of the directory note that the path arg. More... | |
| const UFileInfos & | getFileInfos () const |
| returns the (filtered) file entries of the directory. | |
Static Public Member Functions | |
| static void | expandDirPath (UStr &dirpath) |
| expands the directory path (if there are path symbols in the dirpath). | |
Friends | |
| class | UIconbox |
File Directory.
| const UStr & ubit::UFileDir::getPath | ( | ) | const |
returns the full pathname of the directory note that the path arg.
given to the constr, read(), readRemote() is expanded, so that getPath() may return a different string.
| void ubit::UFileDir::read | ( | const UStr & | path | ) |
reads this directory and gets file entries.
| void ubit::UFileDir::read | ( | const UStr & | path, |
| const UStr & | prefix, | ||
| const UStr & | filter, | ||
| bool | with_dot_files | ||
| ) |
reads this directory and gets file entries.
Args:
| void ubit::UFileDir::readRemote | ( | const UStr & | path, |
| const UStr & | prefix, | ||
| const UStr & | filter, | ||
| bool | with_dot_files | ||
| ) |
reads a remote directory and gets file entries.
same as read() but SSH is used to acces a remote directory
1.8.12