storage::ProcParts Class Reference

#include <ProcParts.h>

List of all members.

Public Member Functions

 ProcParts ()
void reload ()
bool getSize (const string &device, unsigned long long &sizeK) const
bool findDevice (const string &device) const
list< string > getEntries () const
template<class Pred>
list< string > getMatchingEntries (Pred pred) const

Protected Types

typedef map< string, unsigned
long long >::const_iterator 
const_iterator

Protected Member Functions

const_iterator findEntry (const string &device) const

Protected Attributes

map< string, unsigned long long > data


Member Typedef Documentation

typedef map<string, unsigned long long>::const_iterator storage::ProcParts::const_iterator [protected]


Constructor & Destructor Documentation

storage::ProcParts::ProcParts (  ) 

References reload().


Member Function Documentation

void storage::ProcParts::reload (  ) 

bool storage::ProcParts::getSize ( const string &  device,
unsigned long long &  sizeK 
) const

bool storage::ProcParts::findDevice ( const string &  device  )  const

References data, and findEntry().

Referenced by storage::Disk::doRemove().

list< string > storage::ProcParts::getEntries (  )  const

References data.

template<class Pred>
list<string> storage::ProcParts::getMatchingEntries ( Pred  pred  )  const [inline]

ProcParts::const_iterator storage::ProcParts::findEntry ( const string &  device  )  const [protected]

References data, and storage::normalizeDevice().

Referenced by findDevice(), and getSize().


Member Data Documentation

map<string, unsigned long long> storage::ProcParts::data [protected]


The documentation for this class was generated from the following files:

Generated on Mon Feb 6 10:42:58 2012 for yast2-storage by  doxygen 1.5.6