PLCnext API Documentation  21.6.0.46
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 = 1, OthersWrite = 2, OthersRead = 4,
  OtherAll = 7, GroupExe = 8, GroupWrite = 16, GroupRead = 32,
  GroupAll = 56, OwnerExe = 64, OwnerWrite = 128, OwnerRead = 256,
  OwnerAll = 448, AllAll = 511
}
 
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: