HDK
|
Class to open a file as a read stream. The class tests for a "home:" prefix and replaces it with $HOME. More...
#include <FS_HomeHelper.h>
Public Member Functions | |
FS_HomeReadHelper () | |
~FS_HomeReadHelper () override | |
FS_ReaderStream * | createStream (const char *source, const UT_Options *options) override |
If the filename starts with "home:" , open an FS_ReaderStream. More... | |
bool | splitIndexFileSectionPath (const char *source_section_path, UT_String &index_file_path, UT_String §ion_name) override |
bool | combineIndexFileSectionPath (UT_String &source_section_path, const char *index_file_path, const char *section_name) override |
Public Member Functions inherited from FS_ReaderHelper | |
FS_ReaderHelper () | |
virtual | ~FS_ReaderHelper () |
Class to open a file as a read stream. The class tests for a "home:" prefix and replaces it with $HOME.
Definition at line 58 of file FS_HomeHelper.h.
FS_HomeReadHelper::FS_HomeReadHelper | ( | ) |
Definition at line 360 of file FS_HomeHelper.C.
|
override |
Definition at line 365 of file FS_HomeHelper.C.
|
overridevirtual |
Utility function to combine index file name and section name into the section path. Performs the reverse of splitIndexFileSectionPath(). Please, see the base class for more documentation.
Reimplemented from FS_ReaderHelper.
Definition at line 421 of file FS_HomeHelper.C.
|
overridevirtual |
If the filename starts with "home:"
, open an FS_ReaderStream.
Implements FS_ReaderHelper.
Definition at line 370 of file FS_HomeHelper.C.
|
overridevirtual |
Parse the source path into the index file path and the section name. Please, see the base class for more documentation.
Reimplemented from FS_ReaderHelper.
Definition at line 382 of file FS_HomeHelper.C.