|
yast2-storage
|
#include <ProcParts.h>
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 |
typedef map<string, unsigned long long>::const_iterator storage::ProcParts::const_iterator [protected] |
| storage::ProcParts::ProcParts | ( | ) |
| bool storage::ProcParts::findDevice | ( | const string & | device | ) | const |
Referenced by storage::Disk::doRemove().
| ProcParts::const_iterator storage::ProcParts::findEntry | ( | const string & | device | ) | const [protected] |
References storage::normalizeDevice().
| list< string > storage::ProcParts::getEntries | ( | ) | const |
| list<string> storage::ProcParts::getMatchingEntries | ( | Pred | pred | ) | const [inline] |
References data.
Referenced by storage::MdPartCo::havePartsInProc().
| bool storage::ProcParts::getSize | ( | const string & | device, |
| unsigned long long & | sizeK | ||
| ) | const |
| void storage::ProcParts::reload | ( | ) |
References storage::extractNthWord(), storage::AsciiFile::lines(), storage::AsciiFile::remove(), and y2mil.
map<string, unsigned long long> storage::ProcParts::data [protected] |
Referenced by getMatchingEntries().
1.7.3