2#ifndef _file_system_info_h_
3#define _file_system_info_h_
6#include "system/object.h"
7#include "system/io/file.h"
8#include "system/io/file.h"
9#include "system/io/path.h"
11namespace System {
namespace IO {
91 virtual ASPOSECPP_SHARED_API
void Delete() = 0;
105 ASPOSECPP_SHARED_API
void Refresh(
bool force);
Represents a specific date and time value on the time continuum. This type should be allocated on sta...
Definition: date_time.h:50
The base class for FileInfo and DirectoryInfo. Objects of this class should only be allocated using S...
Definition: file_system_info.h:31
void set_LastWriteTimeUtc(DateTime value)
Sets the last write time of the entity represented by the current object as UTC time.
void set_LastAccessTime(DateTime value)
Sets the last access time of the entity represented by the current object as local time.
void Refresh()
Refreshes the state of the current object.
FileSystemInfo()
Constructs a new instance of FileSystemInfo class.
void set_LastWriteTime(DateTime value)
Sets the last write time of the entity represented by the current object as local time.
void Refresh(bool force)
Refreshes the state of the current object.
void set_LastAccessTimeUtc(DateTime value)
Sets the last access time of the entity represented by the current object as UTC time.
void set_Attributes(FileAttributes value)
Sets the specified attributes on the entity represeted by the current object.
String get_Extension()
Returns the extension of the file represented by the current object.
DateTime get_LastWriteTime()
Returns the last write time of the entity represented by the current object as local time.
FileSystemInfoStat info
Information describing the entity represented by the current object.
Definition: file_system_info.h:99
virtual String get_Name()=0
Returns a name of the entity represented by the current object.
void set_CreationTimeUtc(DateTime value)
Sets the creation time of the entity represented by the current object as UTC time.
DateTime get_LastAccessTimeUtc()
Returns the last access time of the entity represented by the current object as UTC time.
virtual bool get_Exists()=0
Determines if the entity referenced by the path represented by the current object exists.
virtual void Delete()=0
Deletes the entity represented by the current object.
DateTime get_LastWriteTimeUtc()
Returns the last write time of the entity represented by the current object as UTC time.
DateTime get_CreationTimeUtc()
Returns the creation time of the entity represented by the current object as UTC time.
String OriginalPath
The original path, passed to the current object's constructor, of the entity represented by the curre...
Definition: file_system_info.h:39
bool valid
Indicates if the path represented by the current object references an existing entity.
Definition: file_system_info.h:101
virtual void Finalize()
Does nothing.
virtual String get_FullName()
Returns the full name (including path) of the entity represented by the current object.
void set_CreationTime(DateTime value)
Sets the creation time of the entity represented by the current object as local time.
String FullPath
The full path of the entity represented by the current object.
Definition: file_system_info.h:36
DateTime get_CreationTime()
Returns the creation time of the entity represented by the current object as local time.
FileAttributes get_Attributes()
Returns the attributes of the entity represented by the current object.
DateTime get_LastAccessTime()
Returns the last access time of the entity represented by the current object as local time.
Represents information about a file or directory.
Definition: file_system_info.h:13
FileAttributes attr
Attributes of a file or a directory.
Definition: file_system_info.h:16
DateTime wTime
Last write time.
Definition: file_system_info.h:20
int64_t size
File size in bytes.
Definition: file_system_info.h:24
DateTime cTime
Creation time.
Definition: file_system_info.h:18
DateTime aTime
Last access time.
Definition: file_system_info.h:22
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
FileAttributes
Represents attributes of a directory or a file.
Definition: file_attributes.h:9
Definition: db_command.h:9