HDK
|
Class to open a file as a write stream. The class tests for a "home:" prefix and replaces it with $HOME. More...
#include <FS_HomeHelper.h>
Public Member Functions | |
FS_HomeWriteHelper () | |
~FS_HomeWriteHelper () override | |
FS_WriterStream * | createStream (const char *source) override |
If the filename begins with "home:" return a new write stream. More... | |
bool | canMakeDirectory (const char *source) override |
Whether this helper supports the given source path for makeDirectory(). More... | |
bool | makeDirectory (const char *source, mode_t mode=0777, bool ignore_umask=false) override |
Make a directory and all the parent directories needed. More... | |
Public Member Functions inherited from FS_WriterHelper | |
FS_WriterHelper () | |
virtual | ~FS_WriterHelper () |
Class to open a file as a write stream. The class tests for a "home:" prefix and replaces it with $HOME.
Definition at line 85 of file FS_HomeHelper.h.
FS_HomeWriteHelper::FS_HomeWriteHelper | ( | ) |
Definition at line 446 of file FS_HomeHelper.C.
|
override |
Definition at line 451 of file FS_HomeHelper.C.
|
overridevirtual |
Whether this helper supports the given source path for makeDirectory().
Reimplemented from FS_WriterHelper.
Definition at line 468 of file FS_HomeHelper.C.
|
overridevirtual |
If the filename begins with "home:" return a new write stream.
Implements FS_WriterHelper.
Definition at line 456 of file FS_HomeHelper.C.
|
overridevirtual |
Make a directory and all the parent directories needed.
Reimplemented from FS_WriterHelper.
Definition at line 475 of file FS_HomeHelper.C.