class PFilePath |
This class describes a full description for a file on the particular platform.
![]() | Construction |
![]() | Path addition functions |
![]() | Path decoding access functions |
![]() | Miscellaneous functions |
Overrides from class PObject
Overrides from class PContainer
Size/Length functions
Concatenation operators *
Comparison operators
Search & replace functions
Sub-string functions
Conversion functions
New functions for class
Common functions for containers
Run Time Type functions
I/O functions
Comparison functions
This class describes a full description for a file on the particular platform. This will always uniquely identify the file on currently mounted volumes.An empty string for a PFilePath indicates an illegal path.
The ancestor class is dependent on the platform. For file systems that are case sensitive, eg Unix, the ancestor is PString. For other platforms, the ancestor class is PCaselessString.
The string passed in may be a full or partial specification for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.
The partial file specification is translated into a canonical form which always absolutely references the file.
The string passed in may be a full or partial specification for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.
The partial file specification is translated into a canonical form which always absolutely references the file.
The string passed in may be a full or partial specifiaction for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.
The partial file specification is translated into a canonical form which always absolutely references the file.
The string passed in may be a full or partial specifiaction for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.
The partial file specification is translated into a canonical form which always absolutely references the file.
myStr += "fred";
myStr += '!';
Note there are standard translations from file extensions, eg ".TXT" and some Macintosh file types, eg "TEXT".
Note that for Unix platforms, this returns the physical path of the directory. That is all symlinks are resolved. Thus the directory returned may not be the same as the value of GetPath().
Alphabetic index HTML hierarchy of classes or Java