yast2-storage
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends

storage::ProcMdstat Class Reference

#include <ProcMdstat.h>

List of all members.

Classes

struct  Entry

Public Types

typedef map< string, Entry >
::const_iterator 
const_iterator

Public Member Functions

 ProcMdstat ()
list< string > getEntries () const
bool getEntry (const string &name, Entry &entry) const
const_iterator begin () const
const_iterator end () const

Private Member Functions

Entry parse (const string &line1, const string &line2)

Private Attributes

map< string, Entrydata

Friends

std::ostream & operator<< (std::ostream &s, const Entry &entry)

Member Typedef Documentation


Constructor & Destructor Documentation

storage::ProcMdstat::ProcMdstat ( )

Member Function Documentation

const_iterator storage::ProcMdstat::begin ( ) const [inline]
const_iterator storage::ProcMdstat::end ( ) const [inline]
list< string > storage::ProcMdstat::getEntries ( ) const
bool storage::ProcMdstat::getEntry ( const string &  name,
Entry entry 
) const
ProcMdstat::Entry storage::ProcMdstat::parse ( const string &  line1,
const string &  line2 
) [private]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const Entry entry 
) [friend]

Member Data Documentation

map<string, Entry> storage::ProcMdstat::data [private]

Referenced by begin(), and end().


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