- wxFileName
Copy constructor.
- AppendDir
Appends a directory component to the path.
- Assign
Creates the file name from another filename object.
- AssignCwd
Makes this object refer to the current working directory on the specified volume (or current volume if volume is empty).
- AssignDir
Sets this file name object to the given directory name.
- AssignHomeDir
Sets this file name object to the home directory.
- AssignTempFileName
The function calls CreateTempFileName() to create a temporary file and sets this object to the name of the file.
- Clear
Reset all components to default, uninitialized state.
- ClearExt
Removes the extension from the file name resulting in a file name with no trailing dot.
- DirExists
Returns true if the directory with this name exists.
- FileExists
Returns true if the file with this name exists.
- GetDirCount
Returns the number of directories in the file name.
- GetDirs
Returns the directories in string array form.
- GetExt
Returns the file name extension.
- GetFullName
Returns the full name (including extension but excluding directories).
- GetFullPath
Returns the full path with name and extension.
- GetHumanReadableSize
Returns the representation of the file size in a human-readable form.
- GetLongPath
Return the long form of the path (returns identity on non-Windows platforms).
- GetModificationTime
Returns the last time the file was last modified.
- GetName
Returns the name part of the filename (without extension).
- GetPath
Returns the path part of the filename (without the name or extension).
- GetPathWithSep
Returns the path with the trailing separator, useful for appending the name to the given path.
- GetShortPath
Return the short form of the path (returns identity on non-Windows platforms).
- GetVolume
Returns the string containing the volume for this file name, empty if it doesn't have one or if the file system doesn't support volumes at all (for example, Unix).
- HasExt
Returns true if an extension is present.
- HasName
Returns true if a name is present.
- HasVolume
Returns true if a volume specifier is present.
- InsertDir
Inserts a directory component before the zero-based position in the directory list.
- IsAbsolute
Returns true if this filename is absolute.
- IsDir
Returns true if this object represents a directory, false otherwise (i.e.
- IsDirReadable
Returns true if the directory component of this instance is an existing directory and this process has read permissions on it.
- IsDirWritable
Returns true if the directory component of this instance is an existing directory and this process has write permissions on it.
- IsFileExecutable
Returns true if a file with this name exists and if this process has execute permissions on it.
- IsFileReadable
Returns true if a file with this name exists and if this process has read permissions on it.
- IsFileWritable
Returns true if a file with this name exists and if this process has write permissions on it.
- IsOk
Returns true if the filename is valid, false if it is not initialized yet.
- IsRelative
Returns true if this filename is not absolute.
- MakeAbsolute
Make the file name absolute.
- MakeRelativeTo
This function tries to put this file name in a form relative to pathBase.
- Mkdir
Creates a directory.
- Normalize
Normalize the path.
- PrependDir
Prepends a directory to the file path.
- RemoveDir
Removes the specified directory component from the path.
- RemoveLastDir
Removes last directory component from the path.
- ReplaceEnvVariable
If the path contains the value of the environment variable named envname then this function replaces it with the string obtained from wxString::Format(replacementFmtString, value_of_envname_variable).
- ReplaceHomeDir
Replaces, if present in the path, the home directory for the given user (see wxGetHomeDir) with a tilde (~).
- SameAs
Compares the filename using the rules of this platform.
- SetEmptyExt
Sets the extension of the file name to be an empty extension.
- SetExt
Sets the extension of the file name.
- SetFullName
The full name is the file name and extension (but without the path).
- SetName
Sets the name part (without extension).
- SetPath
Sets the path.
- SetTimes
Sets the file creation and last access/modification times (any of the pointers may be NULL).
- SetVolume
Sets the volume specifier.
- Touch
Sets the access and modification times to the current moment.
- CreateTempFileName
Returns a temporary file name starting with the given prefix.
- DirName
Returns the object corresponding to the directory with the given name.
- FileName
Returns the file name object corresponding to the given file.
- GetCwd
Retrieves the value of the current working directory on the specified volume.
- GetForbiddenChars
Returns the characters that can't be used in filenames and directory names for the specified format.
- GetFormat
Returns the canonical path format for this platform.
- GetHomeDir
Returns the home directory.
- GetPathSeparators
Returns the string containing all the path separators for this format.
- GetPathTerminators
Returns the string of characters which may terminate the path part.
- GetTempDir
Returns the directory used for temporary files.
- GetVolumeSeparator
Returns the string separating the volume from the path for this format.
- IsCaseSensitive
Returns true if the file names of this type are case-sensitive.
- IsMSWUniqueVolumeNamePath
Returns true if the volume part of the path is a unique volume name.
- Rmdir
Deletes the specified directory from the file system.
- SetCwd
Changes the current working directory.
- SplitPath
This function splits a full file name into components: the volume (with the first version) path (including the volume in the second version), the base name and the extension.
- SplitVolume
Splits the given fullpath into the volume part (which may be empty) and the pure path part, not containing any volume.
- StripExtension
Strip the file extension.