![]() |
ai::FilePath Class Reference
Constructor & Destructor Documentation
Default constructor. Creates an empty file-path object.
Copies a file-path object.
Creates an initialized file-path object from a Unicode string containing a path native to Windows, Unix, or Mac OS, or a URL.
Creates as intialized file-path object from a file reference. Internal. Creates an initialized file-path object from a
Creates an initialized file-path object from a
Creates an initialized file-path object from a
Destructor. Member Function Documentation
Adds a component to this path. Adds or ignores appropriate delimiters as needed. Does not add delimiters to the end of a path unless explicitly requested by sending an empty addend.
References AddComponent(), and GetFullPath().
Adds a component to this path. Adds or ignores appropriate delimiters as needed. Does not add delimiters to the end of a path unless explicitly requested by sending an empty addend.
Referenced by AddComponent().
Adds a file extension to this path. Adds or ignores dots as needed so that only one dot appears before the extension.
References AddExtension().
Adds a file extension to this path. Adds or ignores dots as needed so that only one dot appears before the extension.
Referenced by AddExtension().
Reports whether this path ends with a delimiter, and therefore references a folder or directory, rather than a file.
Compares this file path to another for equality.
Reports whether this file or directory exists after querying the file system.
Creates a
Creates an
Internal. Creates an
Internal. Fills in the existing
Retrieves this path as a Uniform Resource Locator (URL), which contains only ASCII characters; any special characters are escaped with URL percent (%) encoding.
Retrieves the creator and type of this file or directory (4-character codes) in Mac OS.
Return the relative path of 'path' to 'base'. Return the absolute path for 'relative' from 'base'. Retrieves the path component delimiter for the current platform.
Retrieves the directory name, ending with a delimiter, without the filename, in notation native to the current platform. If path represents a directory, the result is the same as
Retrieves the file extension, without the dot, or
Retrieves the file name including an extension, if applicable, but without the path.
Retrieves the file name without the extension and path.
Retrieves the full path in notation native to the current platform.
Referenced by AddComponent().
Retrieves the parent of the object represented by this path.
Does not access the file system, and does not guarantee that the referenced file or directory exists.
Retrieves an operating-system-specific short version of the path. The file or folder must exist. Accesses the file system.
Reports whether a file-path object is empty.
Sets the referenced path of this object to a
Inequality operator.
Less-than operator, compares file path strings. Assignment operator. Same as
Equality operator.
Removes the end component from this path.
Removes the file extension, if any, from this path.
Resets cached information about volumes, used to increase the efficiency of filesystem operations.
Resolves any alias or shortcut for this path by querying file system, and alters the object to point directly to the target file. The target file or directory must exist. <<or what happens?>>
Sets this file path from a Unicode string containing a path native to Windows, Unix, or Mac OS, or a URL.
Sets this file path from an
Sets this file path from an
Internal. Sets this file path from an
Reports whether this path starts with a delimiter, and is therefore an absolute, not relative, path.
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|