libzypp
13.10.6
|
Holds data about how much space will be needed per directory. More...
#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. More... | |
bool | operator< (const Entry &rhs) const |
Order based on directory name. More... | |
bool | isBelow (const Entry &rhs) const |
Return true if this entry denotes a directory equal to or below rhs._dirname. More... | |
bool | isBelow (const std::string &dirname_r) const |
Return true if this entry denotes a directory equal to or below dirname_r. More... | |
const Entry & | operator+= (const Entry &rhs) const |
Numerical operation based on size and files values. More... | |
const Entry & | operator-= (const Entry &rhs) const |
Numerical operation based on size and files values. More... | |
Public Attributes | |
std::string | path |
unsigned | _size |
unsigned | _files |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Entry &obj) |
Holds data about how much space will be needed per directory.
Definition at line 27 of file DiskUsage.h.
|
inline |
Definition at line 28 of file DiskUsage.h.
|
inline |
Definition at line 29 of file DiskUsage.h.
|
inline |
Test for equality based on directory name.
Definition at line 48 of file DiskUsage.h.
|
inline |
Order based on directory name.
Definition at line 54 of file DiskUsage.h.
|
inline |
Return true if this entry denotes a directory equal to or below rhs._dirname.
Definition at line 60 of file DiskUsage.h.
|
inline |
Return true if this entry denotes a directory equal to or below dirname_r.
Definition at line 67 of file DiskUsage.h.
Numerical operation based on size and files values.
Definition at line 74 of file DiskUsage.h.
Numerical operation based on size and files values.
Definition at line 82 of file DiskUsage.h.
|
friend |
Definition at line 20 of file DiskUsage.cc.
std::string zypp::DiskUsage::Entry::path |
Definition at line 41 of file DiskUsage.h.
|
mutable |
Definition at line 42 of file DiskUsage.h.
|
mutable |
Definition at line 43 of file DiskUsage.h.