|
FAST.Framework
1.0.0
|
#include <FDirectory.h>


Public Member Functions | |
| FDirectory (const FString &path) | |
| Constructor of directory object. | |
| FDirectory () | |
| Constructor of directory object. | |
| virtual | ~FDirectory ()=default |
| Destroy directory object. | |
| Boolean | Create () const |
| Create new directory, if not exists. | |
| FDirectory | CreateSubDirectory (const FString &path) const |
| Create new subdirectory, if not exists. | |
| Boolean | Delete (Boolean recursive=false) const |
| Delete files and directory. | |
| Boolean | Exists () const |
| Returns true if the directory exists, otherwise false. | |
| Boolean | MoveTo (const FString &path) |
| Moves a directory instance and its contents to a new path. | |
| FString | Name () const |
| Gets the name of this directory instance. | |
| FString | FullName () const |
| Gets the path of this directory instance. | |
| FDirectory | Parent () const |
| Gets the parent directory of a specified subdirectory. | |
| FDateTime | CreatedAt () const |
| Returns the creation date and time of the specified file or directory. | |
| FDateTime | LastAccessAt () const |
| Returns the date and time the specified file or directory was last accessed. | |
| FDateTime | LastWriteAt () const |
| Returns the date and time the specified file or directory was last written to. | |
| FList< FDirectory > | Directories () const |
| Returns the subdirectories of the current directory. | |
| FList< FFile > | Files () const |
| Returns a file list from the current directory. | |
| const type_info & | GetType () override |
| Returns the type info over object. | |
| FString | GetName () const override |
| Returns the name of object. | |
Public Member Functions inherited from FObject | |
| FObject ()=default | |
| Constructor. | |
| virtual | ~FObject ()=default |
| Destructor. | |
Static Public Member Functions | |
| static Boolean | Create (const FString &path) |
| Create new directory, if not exists. | |
| static Boolean | Delete (const FString &path, Boolean recursive) |
| Remove files into current directory. | |
| static Boolean | Exists (const FString &path) |
| Returns true if the directory exists, otherwise false. | |
| static Boolean | MoveTo (const FString &oldPath, const FString &newPath) |
| Moves a directory instance and its contents to a new path. | |
| static FList< FDirectory > | Directories (const FString &path) |
| Returns the subdirectories of the current directory. | |
| static FList< FFile > | Files (const FString &path) |
| Returns a file list from the current directory. | |
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories