unsigned long long = 0
);
- char getFileType() const { return filetype; }
+ char getFileType() const { return filetype; }
+ const std::string &getPermissions() const { return permissions; }
+ const std::string &getUserName() const { return username; }
+ const std::string &getGroupName() const { return groupname; }
+ unsigned long getFileSize() const { return filesize; }
+ unsigned long long getModifiedDate() const { return modified_date; }
+ const std::string &getFileName() const { return filename; }
+ unsigned long long getLastBackupDate() const { return last_backup_date; }
- const std::string &getFileName() const { return filename; }
+ void setFileType( char arg ) { filetype = arg; }
+ void setPermissions( const std::string &arg ) { permissions = arg; }
+ void setUserName( const std::string &arg ) { username = arg; }
+ void setGroupName( const std::string &arg ) { groupname = arg; }
+ void setFileSize( unsigned long arg ) { filesize = arg; }
+ void setModifiedDate( unsigned long long arg ) { modified_date = arg; }
+ void setFileName( const std::string &arg ) { filename = arg; }
+ void setLastBackupDate( unsigned long long arg ) { last_backup_date = arg; }
private:
FileData();