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 updateRaidtabFile ()
void buildRaidtabMap ()
void buildMdadmMap ()

Protected Attributes

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

Friends

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

Classes

struct  entry


Constructor & Destructor Documentation

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

EtcRaidtab::~EtcRaidtab  ) 
 


Member Function Documentation

void EtcRaidtab::buildMdadmMap  )  [protected]
 

void EtcRaidtab::buildRaidtabMap  )  [protected]
 

void EtcRaidtab::removeEntry unsigned  num  ) 
 

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

void EtcRaidtab::updateMdadmFile  )  [protected]
 

void EtcRaidtab::updateRaidtabFile  )  [protected]
 


Friends And Related Function Documentation

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


Member Data Documentation

Regex* storage::EtcRaidtab::comment [protected]
 

AsciiFile* storage::EtcRaidtab::mdadm [protected]
 

int storage::EtcRaidtab::mdadm_dev_line [protected]
 

string storage::EtcRaidtab::mdadmname [protected]
 

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

AsciiFile* storage::EtcRaidtab::raidtab [protected]
 

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

string storage::EtcRaidtab::rtabname [protected]
 

Regex* storage::EtcRaidtab::whitespace [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:40:25 2006 for yast2-storage by  doxygen 1.4.6