zypp::DiskUsageCounter::MountPoint Struct Reference

#include <DiskUsageCounter.h>

List of all members.

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.


Detailed Description

Mount point description

Definition at line 33 of file DiskUsageCounter.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool zypp::DiskUsageCounter::MountPoint::operator< ( const MountPoint rhs  )  const [inline]

Definition at line 69 of file DiskUsageCounter.h.

References dir.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const DiskUsageCounter::MountPoint obj 
) [related]

Stream output.

Definition at line 266 of file DiskUsageCounter.cc.


Member Data Documentation

std::string zypp::DiskUsageCounter::MountPoint::dir

Directory name.

Definition at line 38 of file DiskUsageCounter.h.

Referenced by operator<(), and zypp::operator<<().

long long zypp::DiskUsageCounter::MountPoint::block_size

Block size of the mount point.

Definition at line 43 of file DiskUsageCounter.h.

Referenced by zypp::operator<<().

long long zypp::DiskUsageCounter::MountPoint::total_size

Total size in kB (1024).

Definition at line 48 of file DiskUsageCounter.h.

Referenced by zypp::operator<<().

long long zypp::DiskUsageCounter::MountPoint::used_size

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<<().

bool zypp::DiskUsageCounter::MountPoint::readonly

Definition at line 60 of file DiskUsageCounter.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:14 2007 for libzypp by  doxygen 1.5.3