yast2-storage
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

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

Member Function Documentation

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

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

ProcParts::const_iterator storage::ProcParts::findEntry ( const string &  device) const [protected]
list< string > storage::ProcParts::getEntries ( ) const
template<class Pred >
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 ( )

Member Data Documentation

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

Referenced by getMatchingEntries().


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