Constructs 'file' objects. More...


Public Member Functions | |
| virtual | ~fileSystemFactory () |
| virtual ref< file > | create (const file::path &path) const =0 |
| virtual const file::path | stringToPath (const string &str) const =0 |
| virtual const string | pathToString (const file::path &path) const =0 |
| virtual bool | isValidPathComponent (const file::path::component &comp) const =0 |
| virtual bool | isValidPath (const file::path &path) const =0 |
Constructs 'file' objects.
| virtual ~fileSystemFactory | ( | ) | [virtual] |
| virtual ref<file> create | ( | const file::path & | path | ) | const [pure virtual] |
Create a new file object from the specified path.
| path | full path (absolute) of the file |
Implemented in posixFileSystemFactory, and windowsFileSystemFactory.
| virtual bool isValidPath | ( | const file::path & | path | ) | const [pure virtual] |
Test whether the specified path is syntactically valid (ie: components do not contain any 'special' character).
| path | path to test |
Implemented in posixFileSystemFactory, and windowsFileSystemFactory.
| virtual bool isValidPathComponent | ( | const file::path::component & | comp | ) | const [pure virtual] |
Test whether the specified path component is syntactically valid (ie: does not contain any 'special' character).
| comp | path component to test |
Implemented in posixFileSystemFactory, and windowsFileSystemFactory.
| virtual const string pathToString | ( | const file::path & | path | ) | const [pure virtual] |
Return the system-dependent string representation for the specified path.
| path | abstract representation of the path |
Implemented in posixFileSystemFactory, and windowsFileSystemFactory.
| virtual const file::path stringToPath | ( | const string & | str | ) | const [pure virtual] |
Parse a path contained in a string.
| str | string containing a path in a system-dependent representation |
Implemented in posixFileSystemFactory, and windowsFileSystemFactory.
1.6.2