#include <DiskUsageCounter.h>
Public Member Functions | |
| MountPoint (std::string d="/", long long bs=0LL, long long total=0LL, long long used=0LL, long long pkg=0LL, bool ro=false) | |
| Ctor - initialize directory and package size. | |
| bool | operator< (const MountPoint &rhs) const |
Public Attributes | |
| std::string | dir |
| Directory name. | |
| long long | block_size |
| Block size of the mount point. | |
| long long | total_size |
| Total size in kB (1024). | |
| long long | used_size |
| Used size in kB (1024). | |
| long long | pkg_size |
| Used size after commiting the pool (in kB). | |
| bool | readonly |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const DiskUsageCounter::MountPoint &obj) |
| Stream output. | |
Definition at line 33 of file DiskUsageCounter.h.
| zypp::DiskUsageCounter::MountPoint::MountPoint | ( | std::string | d = "/", |
|
| long long | bs = 0LL, |
|||
| long long | total = 0LL, |
|||
| long long | used = 0LL, |
|||
| long long | pkg = 0LL, |
|||
| bool | ro = false | |||
| ) | [inline] |
| bool zypp::DiskUsageCounter::MountPoint::operator< | ( | const MountPoint & | rhs | ) | const [inline] |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const DiskUsageCounter::MountPoint & | obj | |||
| ) | [related] |
| std::string zypp::DiskUsageCounter::MountPoint::dir |
Directory name.
Definition at line 38 of file DiskUsageCounter.h.
Referenced by operator<(), and zypp::operator<<().
Block size of the mount point.
Definition at line 43 of file DiskUsageCounter.h.
Referenced by zypp::operator<<().
Total size in kB (1024).
Definition at line 48 of file DiskUsageCounter.h.
Referenced by zypp::operator<<().
Used size in kB (1024).
Definition at line 53 of file DiskUsageCounter.h.
Referenced by zypp::operator<<().
long long zypp::DiskUsageCounter::MountPoint::pkg_size [mutable] |
Used size after commiting the pool (in kB).
Definition at line 58 of file DiskUsageCounter.h.
Referenced by zypp::operator<<().
Definition at line 60 of file DiskUsageCounter.h.
1.5.3