|
#include <fileentry.hpp>
State | |
operator boolean_type () const | |
Indicates the state of the instance, i.e. whether it is contains a valid recls_info_t or not. | |
bool | operator! () const |
Returns the logical inverse of the state of the instance, i.e. whether it is contains a valid recls_info_t or not. | |
Public Types | |
typedef recls_char_t | char_type |
typedef FileEntry | class_type |
Public Methods | |
Construction | |
FileEntry () | |
Default constructor. | |
FileEntry (FileEntry const &rhs) | |
Copy constructor. | |
~FileEntry () | |
Destructor. | |
FileEntry & | operator= (FileEntry const &rhs) |
Copy assignment operator. | |
Attributes | |
char_type const * | c_str () const |
Returns a pointer to the full path of the file entry, or the empty string. | |
string_t | GetPath () const |
Returns the full path of the file entry. | |
string_t | GetDirectory () const |
Returns the directory of the file entry. | |
string_t | GetDirectoryPath () const |
Returns the directory (+ drive) of the file entry. | |
string_t | GetUNCDrive () const |
Returns the UNC drive component, if any, of the file entry's path. | |
DirectoryParts | GetDirectoryParts () const |
Returns the directory parts of the file entry. | |
string_t | GetFile () const |
Returns the file (filename + extension) of the file entry. | |
string_t | GetShortFile () const |
Returns the short form of the file (filename + extension) of the file entry. | |
string_t | GetFileName () const |
Returns the filename of the file entry. | |
string_t | GetFileExt () const |
Returns the file extension of the file entry. | |
recls_time_t | GetCreationTime () const |
Returns the creation time of the file entry. | |
recls_time_t | GetModificationTime () const |
Returns the modification time of the file entry. | |
recls_time_t | GetLastAccessTime () const |
Returns the last access time of the file entry. | |
recls_time_t | GetLastStatusChangeTime () const |
Returns the last statuc change time of the file entry. | |
recls_filesize_t | GetSize () const |
Returns the size of the file entry. | |
recls_bool_t | IsReadOnly () const |
Indicates whether the file entry is read-only. | |
recls_bool_t | IsDirectory () const |
Indicates whether the file entry is a directory. | |
recls_bool_t | IsLink () const |
Indicates whether the file entry is a link. | |
recls_bool_t | IsUNC () const |
Indicates whether the file entry's path is UNC. |
|
|
|
|
|
Default constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Returns a pointer to the full path of the file entry, or the empty string.
|
|
Returns the creation time of the file entry. \Note On systems other than Win32, this is identical to GetModificationTime() |
|
Returns the directory of the file entry.
|
|
Returns the directory parts of the file entry.
|
|
Returns the directory (+ drive) of the file entry.
|
|
Returns the file (filename + extension) of the file entry.
|
|
Returns the file extension of the file entry.
|
|
Returns the filename of the file entry.
|
|
Returns the last access time of the file entry.
|
|
Returns the last statuc change time of the file entry. \Note On systems other than UNIX, this is identical to GetModificationTime() |
|
Returns the modification time of the file entry.
|
|
Returns the full path of the file entry.
|
|
Returns the short form of the file (filename + extension) of the file entry. \Note On systems other than Win32, this is identical to GetFile() |
|
Returns the size of the file entry.
|
|
Returns the UNC drive component, if any, of the file entry's path.
|
|
Indicates whether the file entry is a directory.
|
|
Indicates whether the file entry is a link.
|
|
Indicates whether the file entry is read-only.
|
|
Indicates whether the file entry's path is UNC.
|
|
Indicates the state of the instance, i.e. whether it is contains a valid recls_info_t or not.
|
|
Returns the logical inverse of the state of the instance, i.e. whether it is contains a valid recls_info_t or not.
|
|
Copy assignment operator.
|
|
|
|
recls Library documentation © Synesis Software Pty Ltd, 2001-2005 |