|
libzypp
9.1.2
|
Mount point description. More...
#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 |
| ByteCount | blockSize () const |
| ByteCount | totalSize () const |
| ByteCount | usedSize () const |
| ByteCount | freeSize () const |
| ByteCount | usedAfterCommit () const |
| ByteCount | freeAfterCommit () const |
| ByteCount | commitDiff () 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 K (1024) | |
| long long | used_size |
| Used size in K (1024) | |
| long long | pkg_size |
| Used size after commiting the pool (in K) | |
| bool | readonly |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const DiskUsageCounter::MountPoint &obj) |
Mount point description.
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] |
Ctor - initialize directory and package size.
Definition at line 65 of file DiskUsageCounter.h.
| bool zypp::DiskUsageCounter::MountPoint::operator< | ( | const MountPoint & | rhs | ) | const [inline] |
Definition at line 70 of file DiskUsageCounter.h.
References dir.
| ByteCount zypp::DiskUsageCounter::MountPoint::blockSize | ( | ) | const [inline] |
Definition at line 75 of file DiskUsageCounter.h.
References zypp::ByteCount::B, and block_size.
Referenced by zypp::operator<<().
| ByteCount zypp::DiskUsageCounter::MountPoint::totalSize | ( | ) | const [inline] |
Definition at line 78 of file DiskUsageCounter.h.
References zypp::ByteCount::K, and total_size.
Referenced by zypp::operator<<().
| ByteCount zypp::DiskUsageCounter::MountPoint::usedSize | ( | ) | const [inline] |
Definition at line 81 of file DiskUsageCounter.h.
References zypp::ByteCount::K, and used_size.
Referenced by zypp::operator<<().
| ByteCount zypp::DiskUsageCounter::MountPoint::freeSize | ( | ) | const [inline] |
Definition at line 84 of file DiskUsageCounter.h.
References zypp::ByteCount::K, total_size, and used_size.
| ByteCount zypp::DiskUsageCounter::MountPoint::usedAfterCommit | ( | ) | const [inline] |
Definition at line 87 of file DiskUsageCounter.h.
References zypp::ByteCount::K, and pkg_size.
| ByteCount zypp::DiskUsageCounter::MountPoint::freeAfterCommit | ( | ) | const [inline] |
Definition at line 90 of file DiskUsageCounter.h.
References zypp::ByteCount::K, pkg_size, and total_size.
| ByteCount zypp::DiskUsageCounter::MountPoint::commitDiff | ( | ) | const [inline] |
Definition at line 93 of file DiskUsageCounter.h.
References zypp::ByteCount::K, pkg_size, and used_size.
Referenced by zypp::operator<<().
| std::ostream & operator<< | ( | std::ostream & | str, |
| const DiskUsageCounter::MountPoint & | obj | ||
| ) | [related] |
Stream output
Definition at line 285 of file DiskUsageCounter.cc.
| 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 blockSize().
Total size in K (1024)
Definition at line 48 of file DiskUsageCounter.h.
Referenced by freeAfterCommit(), freeSize(), and totalSize().
Used size in K (1024)
Definition at line 53 of file DiskUsageCounter.h.
Referenced by commitDiff(), freeSize(), and usedSize().
long long zypp::DiskUsageCounter::MountPoint::pkg_size [mutable] |
Used size after commiting the pool (in K)
Definition at line 58 of file DiskUsageCounter.h.
Referenced by commitDiff(), freeAfterCommit(), and usedAfterCommit().
Definition at line 60 of file DiskUsageCounter.h.
1.7.6.1