#include <DiskUsage.h>
Public Member Functions | |
Entry () | |
Entry (const std::string &path_r, const unsigned size_r=0, const unsigned files_r=0) | |
bool | operator== (const Entry &rhs) const |
Test for equality based on directory name. | |
bool | operator< (const Entry &rhs) const |
Order based on directory name. | |
bool | isBelow (const Entry &rhs) const |
Return true if this entry denotes a directory equal to or below rhs._dirname. | |
bool | isBelow (const std::string &dirname_r) const |
Return true if this entry denotes a directory equal to or below dirname_r. | |
const Entry & | operator= (const Entry &rhs) const |
const Entry & | operator+= (const Entry &rhs) const |
Numerical operation based on size and files values. | |
const Entry & | operator-= (const Entry &rhs) const |
Numerical operation based on size and files values. | |
Public Attributes | |
const std::string | path |
unsigned | _size |
unsigned | _files |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Entry &obj) |
Definition at line 27 of file DiskUsage.h.
|
Definition at line 28 of file DiskUsage.h. Referenced by isBelow(). |
|
Definition at line 29 of file DiskUsage.h. |
|
Test for equality based on directory name.
Definition at line 41 of file DiskUsage.h. References path. |
|
Order based on directory name.
Definition at line 47 of file DiskUsage.h. References path. |
|
Return true if this entry denotes a directory equal to or below rhs._dirname.
Definition at line 53 of file DiskUsage.h. References path. Referenced by isBelow(). |
|
Return true if this entry denotes a directory equal to or below dirname_r.
Definition at line 60 of file DiskUsage.h. |
|
Definition at line 67 of file DiskUsage.h. |
|
Numerical operation based on size and files values.
Definition at line 73 of file DiskUsage.h. |
|
Numerical operation based on size and files values.
Definition at line 81 of file DiskUsage.h. |
|
Definition at line 20 of file DiskUsage.cc. |
|
Definition at line 34 of file DiskUsage.h. Referenced by isBelow(), operator<(), zypp::operator<<(), and operator==(). |
|
Definition at line 35 of file DiskUsage.h. Referenced by zypp::DiskUsage::extract(), operator+=(), operator-=(), and zypp::operator<<(). |
|
Definition at line 36 of file DiskUsage.h. Referenced by zypp::DiskUsage::extract(), operator+=(), operator-=(), and zypp::operator<<(). |