Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PartedAccess Class Reference

#include <PartedAcc.h>

Inheritance diagram for PartedAccess:

DiskAccess List of all members.

Public Member Functions

 PartedAccess (string Disk_Cv, bool Readonly_bv)
virtual ~PartedAccess ()
virtual bool WritePartitionTable ()
virtual void Delete (const unsigned Part_iv)
virtual void DeleteAll ()
virtual bool NewPartition (const PartitionType Part_e, const unsigned Part_nr, string Von_Cv, string Bis_Cv, const unsigned Type_iv, string DefLabel_Cv)
bool Resize (const unsigned Part_iv, const unsigned NewLastCyl_iv)
virtual void SetType (const unsigned Part_iv, const unsigned Type_iv)

Protected Member Functions

void CheckError (const string &CmdString_Cv, SystemCmd &Cmd_C)
string GetPartitionNumber (int Part_iv)
void CheckOutput (SystemCmd &Cmd_C, string Pat_Cv)
bool ScanLine (string Line_Cv, PartInfo &Part_rr)
void GetPartitionList (bool OnlyLabel_bv)

Constructor & Destructor Documentation

PartedAccess::PartedAccess string  Disk_Cv,
bool  Readonly_bv
 

PartedAccess::~PartedAccess  )  [virtual]
 


Member Function Documentation

void PartedAccess::CheckError const string &  CmdString_Cv,
SystemCmd Cmd_C
[protected]
 

void PartedAccess::CheckOutput SystemCmd Cmd_C,
string  Pat_Cv
[protected]
 

void PartedAccess::Delete const unsigned  Part_iv  )  [virtual]
 

Reimplemented from DiskAccess.

void PartedAccess::DeleteAll  )  [virtual]
 

Reimplemented from DiskAccess.

void PartedAccess::GetPartitionList bool  OnlyLabel_bv  )  [protected]
 

string PartedAccess::GetPartitionNumber int  Part_iv  )  [protected]
 

bool PartedAccess::NewPartition const PartitionType  Part_e,
const unsigned  Part_nr,
string  Von_Cv,
string  Bis_Cv,
const unsigned  Type_iv,
string  DefLabel_Cv
[virtual]
 

Reimplemented from DiskAccess.

bool PartedAccess::Resize const unsigned  Part_iv,
const unsigned  NewLastCyl_iv
 

bool PartedAccess::ScanLine string  Line_Cv,
PartInfo Part_rr
[protected]
 

void PartedAccess::SetType const unsigned  Part_iv,
const unsigned  Type_iv
[virtual]
 

Reimplemented from DiskAccess.

virtual bool PartedAccess::WritePartitionTable  )  [inline, virtual]
 

Reimplemented from DiskAccess.


The documentation for this class was generated from the following files:
Generated on Tue Jul 17 04:35:15 2007 for yast2-storage by doxygen 1.3.6