
The filename had to be set prior to the property filename. Returns true, if successful otherwise returns false. Static bool file::mkDir( string baseDir, string name)Ĭreates the folder name inside the folder baseDir. Linkname will be created as link to the set file name. Returns: true, if base in an existing directory otherwise false is returned. Otherwise filename is set to an empty string.

Otherwise filename is set to an empty string.įind an other file match to a previous find or findDir. Void file::findDir( string path, string s)įind a folder matching to the search string s. file f įind a file matching to the search string s. Returns: the canonical path of the file without any '.' and '.'. Returns: the base name of the file without the path and suffix. For the other scripting interfaces native alternatives will exist. This class is only available for LayoutEditor C++ Macros. add platform spezific path like "/home/username/filename" or "c:/my Files/filename.txt"īeside a file access this class also give access to directory data as well as reading and setting paths.

Typical step to read/write files are: create a file class, set the filename, open the file, read or write the data and close the file.

Also a access to directories is provided. This class provides a interface for reading and writing files. This class enables reading and writing files to disk.
