Class holding a drive status data. More...

Public Member Functions

std::string getMountPoint ()
 
unsigned long long int getMountPointFreeSpace ()
 
unsigned long long int getMountPointTotalSize ()
 
std::string getName ()
 
 MDrive ()
 
void setMountPoint (const std::string &mountPoint)
 
void setMountPointFreeSpace (unsigned long long int freeSpace)
 
void setMountPointTotalSize (unsigned long long int totalSize)
 
void setName (const std::string &name)
 
 ~MDrive ()
 

Detailed Description

Class holding a drive status data.

Definition at line 59 of file MDrive.h.

Constructor & Destructor Documentation

MDrive ( )

Default constructor

~MDrive ( )

Default destructor

Member Function Documentation

std::string getMountPoint ( )
Returns
the drive mount point
unsigned long long int getMountPointFreeSpace ( )
Returns
the total free space of the mount point
unsigned long long int getMountPointTotalSize ( )
Returns
the total size of the mount point
std::string getName ( )
Returns
the drive name
void setMountPoint ( const std::string &  mountPoint)

Sets the mount point of the drive

Parameters
[in]mountPointThe mount point
void setMountPointFreeSpace ( unsigned long long int  freeSpace)

Sets the free space of the drive mount point

Parameters
[in]freeSpaceThe free space of the drive
void setMountPointTotalSize ( unsigned long long int  totalSize)

Sets the total size of the drive mount point

Parameters
[in]totalSizeThe total size of the drive
void setName ( const std::string &  name)

Sets the name of the drive

Parameters
[in]nameThe name of the drive

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