PLCnext API Documentation  21.0.0.35466
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Arp::System::Commons::Io::FileSystemInfo Class Reference

Classes

struct  SpaceInfo
 

Public Types

enum  Traits {
  None = 0, Permissions = (1 << 0), LastWriteTime = (1 << 1), Length = (1 << 2),
  Crc32 = (1 << 3)
}
 
enum  Permissions {
  NoPerms = 0, OthersExe = 01, OthersWrite = 02, OthersRead = 04,
  OtherAll = 07, GroupExe = 010, GroupWrite = 020, GroupRead = 040,
  GroupAll = 070, OwnerExe = 0100, OwnerWrite = 0200, OwnerRead = 0400,
  OwnerAll = 0700, AllAll = 0777
}
 
typedef std::list< StringRootDirectoriesList
 

Public Member Functions

 FileSystemInfo (void)=delete
 Constructs an FileSystemInfo instance. More...
 
 FileSystemInfo (const FileSystemInfo &arg)=delete
 Copy constructor. More...
 
FileSystemInfooperator= (const FileSystemInfo &arg)=delete
 Assignment operator. More...
 
 ~FileSystemInfo (void)=delete
 Destructs this instance and frees all resources. More...
 

Static Public Member Functions

static Traits GetSupportedTraits (void)
 
static uint64 GetSize (const String &path)
 
static uint32 CalculateCrc32 (const String &path)
 
static DateTime GetLastWriteTime (const String &path)
 
static void SetLastWriteTime (const String &path, const DateTime &newLastWriteTime)
 
static SpaceInfo GetSpaceInfo (const String &path)
 
static Permissions GetPermissions (const String &path)
 
static void AddPermissions (const String &path, Permissions permissions)
 
static void RemovePermissions (const String &path, Permissions permissions)
 
static boolean IsDirectory (const String &path)
 
static boolean IsFile (const String &path)
 
static RootDirectoriesList GetRootDirectories (void)
 

Constructor & Destructor Documentation

◆ FileSystemInfo() [1/2]

Arp::System::Commons::Io::FileSystemInfo::FileSystemInfo ( void  )
delete

Constructs an FileSystemInfo instance.

◆ FileSystemInfo() [2/2]

Arp::System::Commons::Io::FileSystemInfo::FileSystemInfo ( const FileSystemInfo arg)
delete

Copy constructor.

◆ ~FileSystemInfo()

Arp::System::Commons::Io::FileSystemInfo::~FileSystemInfo ( void  )
delete

Destructs this instance and frees all resources.

Member Function Documentation

◆ operator=()

FileSystemInfo& Arp::System::Commons::Io::FileSystemInfo::operator= ( const FileSystemInfo arg)
delete

Assignment operator.


The documentation for this class was generated from the following file: