IBR-DTNSuite
0.12
|
#include <File.h>
Public Member Functions | |
TemporaryFile (const File &path, const std::string prefix="file") | |
virtual | ~TemporaryFile () |
Public Member Functions inherited from ibrcommon::File | |
File () | |
File (const std::string &path) | |
virtual | ~File () |
unsigned char | getType () const |
int | getFiles (std::list< File > &files) const |
bool | isRoot () const |
bool | isSystem () const |
bool | isDirectory () const |
std::string | getPath () const |
std::string | getBasename () const |
virtual int | remove (bool recursive=false) |
File | get (const std::string &filename) const |
File | getParent () const |
virtual bool | exists () const |
virtual void | update () |
virtual size_t | size () const |
virtual time_t | lastaccess () const |
virtual time_t | lastmodify () const |
virtual time_t | laststatchange () const |
bool | operator== (const ibrcommon::File &other) const |
bool | operator< (const ibrcommon::File &other) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ibrcommon::File | |
static void | createDirectory (File &path) |
Protected Member Functions inherited from ibrcommon::File | |
File (const std::string &path, const unsigned char t) | |
Protected Attributes inherited from ibrcommon::File | |
unsigned char | _type |
This object creates a temporary filename. It does not create a file.
ibrcommon::TemporaryFile::TemporaryFile | ( | const File & | path, |
const std::string | prefix = "file" |
||
) |