storage::EtcRaidtab Class Reference

#include <EtcRaidtab.h>

List of all members.

Public Member Functions

 EtcRaidtab (const string &prefix="")
 ~EtcRaidtab ()
void updateEntry (unsigned num, const std::list< string > &entries, const string &, const std::list< string > &devs)
void removeEntry (unsigned num)

Protected Member Functions

void updateMdadmFile ()
void buildMdadmMap ()

Protected Attributes

Regexwhitespace
Regexcomment
string mdadmname
int mdadm_dev_line
std::map< unsigned, entrymtab
AsciiFilemdadm

Friends

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

Classes

struct  entry


Constructor & Destructor Documentation

EtcRaidtab::EtcRaidtab ( const string &  prefix = ""  ) 

EtcRaidtab::~EtcRaidtab (  ) 

References comment, mdadm, and whitespace.


Member Function Documentation

void storage::EtcRaidtab::updateEntry ( unsigned  num,
const std::list< string > &  entries,
const string &  ,
const std::list< string > &  devs 
)

void EtcRaidtab::removeEntry ( unsigned  num  ) 

void EtcRaidtab::updateMdadmFile (  )  [protected]

void EtcRaidtab::buildMdadmMap (  )  [protected]


Friends And Related Function Documentation

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


Member Data Documentation

Referenced by EtcRaidtab(), and ~EtcRaidtab().

Referenced by EtcRaidtab(), and ~EtcRaidtab().

string storage::EtcRaidtab::mdadmname [protected]

Referenced by EtcRaidtab(), and updateMdadmFile().

Referenced by buildMdadmMap(), and EtcRaidtab().

std::map<unsigned,entry> storage::EtcRaidtab::mtab [protected]


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

Generated on Sun Jun 8 10:48:03 2008 for yast2-storage by  doxygen 1.5.5