Inherits UaAbstractFileEngine.
|
| UaFileEngine () |
| function pointer to PathIsRelativeWType More...
|
|
virtual | ~UaFileEngine () |
| destruction
|
|
virtual bool | remove (const UaUniString &sFileName) const |
| Removes the file, fileName. More...
|
|
virtual bool | copy (const UaUniString &fileName, const UaUniString &newName) const |
| The copy function copies an existing file to an new file. More...
|
|
virtual bool | rename (const UaUniString &fileName, const UaUniString &newName) const |
| Renames a file or directory from fileName to newName, and returns true if successful; otherwise returns false. More...
|
|
virtual bool | link (const UaUniString &fileName, const UaUniString &newName) const |
| Create a hard link to a new file. More...
|
|
virtual bool | mkdir (const UaUniString &dirName) const |
| Creates a sub-directory called dirName. More...
|
|
virtual bool | rmdir (const UaUniString &dirName) const |
| Removes the directory specified by dirName. More...
|
|
virtual bool | caseSensitive () const |
| Nothing to do under Win. More...
|
|
virtual bool | isRelativePath (const UaUniString &sPath) const |
| Converts the directory path to an absolute path. More...
|
|
virtual bool | cd (const UaUniString &sDirName) const |
| Changes the UaDir's directory to sDirName. More...
|
|
virtual bool | createFile (const UaUniString &sPath, const UaUniString &sFileName) const |
| Create a new file and opens it for writing. More...
|
|
virtual bool | exists (const UaUniString &sPath) const |
| This method checks if the given path still exists or not. More...
|
|
virtual FILE * | openFile (const UaUniString &fileName, const UaUniString &mode) const |
| Opens a file. More...
|
|
virtual FILE * | openFile (const UaUniString &fileName, const UaUniString &mode, ShareMode shareMode) const |
| Opens a file. More...
|
|
virtual OpcUa_Int64 | writeFile (const void *pData, OpcUa_Int64 size, OpcUa_Int64 count, FILE *pFile) const |
| Writes data to a file opened with openFile(). More...
|
|
virtual OpcUa_Int64 | readFile (void *ptr, OpcUa_Int64 size, OpcUa_Int64 count, FILE *pFile) const |
| Reads data from a file opened with openFile(). More...
|
|
virtual bool | closeFile (FILE *pFile) const |
| Closes a file opened with openFile(). More...
|
|
virtual OpcUa_Int64 | getFileSize (const UaUniString &fileName) const |
| Returns the size of a file. More...
|
|
virtual UaUniStringList | entryList (const UaUniString &sPath, int filters=UaDir::NoFilter, int sort=UaDir::NoSort) const |
| Returns a list of the names of all the files and directories in the directory, ordered according to the name and attribute filters. More...
|
|
virtual UaUniString | canonicalPath (const UaUniString &sPath) const |
| Returns the canonical path, i.e. More...
|
|
virtual UaUniString | homePath () const |
| Returns the absolute path of the user's home directory. More...
|
|
virtual UaUniString | applicationDataPath () const |
| Get the path to the application folder (<username>\Application Data). More...
|
|
virtual UaUniString | systemApplicationDataPath () const |
| Get the path to the application folder (All Users\Application Data). More...
|
|
virtual OpcUa_UInt16 | count (const UaUniString &sPath) const |
| Returns the total number of directories and files in the directory (including "." and "..") More...
|
|
virtual bool | remove (const UaUniString &sFileName) const =0 |
|
virtual bool | copy (const UaUniString &fileName, const UaUniString &newName) const =0 |
|
virtual bool | rename (const UaUniString &fileName, const UaUniString &newName) const =0 |
|
virtual bool | link (const UaUniString &fileName, const UaUniString &newName) const =0 |
|
virtual bool | mkdir (const UaUniString &dirName) const =0 |
|
virtual bool | rmdir (const UaUniString &dirName) const =0 |
|
virtual bool | caseSensitive () const =0 |
|
virtual bool | isRelativePath (const UaUniString &sPath) const =0 |
|
virtual bool | cd (const UaUniString &sDirName) const =0 |
|
virtual bool | createFile (const UaUniString &sPath, const UaUniString &sFileName) const =0 |
|
virtual bool | exists (const UaUniString &sPath) const =0 |
|
virtual FILE * | openFile (const UaUniString &fileName, const UaUniString &mode) const =0 |
|
virtual OpcUa_Int64 | writeFile (const void *pData, OpcUa_Int64 size, OpcUa_Int64 count, FILE *pFile) const =0 |
|
virtual OpcUa_Int64 | readFile (void *ptr, OpcUa_Int64 size, OpcUa_Int64 count, FILE *pFile) const =0 |
|
virtual bool | closeFile (FILE *pFile) const =0 |
|
virtual OpcUa_Int64 | getFileSize (const UaUniString &fileName) const =0 |
|
virtual UaUniString | canonicalPath (const UaUniString &sPath) const =0 |
|
virtual UaUniStringList | entryList (const UaUniString &sPath, int filters=UaDir::NoFilter, int sort=UaDir::NoSort) const =0 |
|
virtual OpcUa_UInt16 | count (const UaUniString &sPath) const =0 |
|
virtual UaUniString | homePath () const =0 |
|
virtual UaUniString | applicationDataPath () const =0 |
|
virtual UaUniString | systemApplicationDataPath () const =0 |
|