storage::MdPart Class Reference

#include <MdPart.h>

Inheritance diagram for storage::MdPart:

storage::Volume storage::Device

List of all members.

Public Member Functions

 MdPart (const MdPartCo &c, const string &name, const string &device, unsigned nr, Partition *p)
 MdPart (const MdPartCo &c, const MdPart &v)
virtual ~MdPart ()
virtual void print (std::ostream &s) const
void getInfo (storage::MdPartInfo &info) const
bool equalContent (const MdPart &rhs) const
void logDifference (std::ostream &log, const MdPart &rhs) const
void setPtr (Partition *pa)
PartitiongetPtr () const
unsigned id () const
void updateName ()
void updateMinor ()
void updateSize (const ProcParts &pp)
void updateSize ()
void getCommitActions (list< commitAction > &l) const
void addUdevData ()
virtual list< string > udevId () const
virtual Text setTypeText (bool doing) const
virtual string procName () const
virtual string sysfsPath () const
virtual list< string > getUsing () const

Static Public Member Functions

static bool notDeleted (const MdPart &l)

Protected Member Functions

const MdPartCoco () const
void addAltUdevId (unsigned num)

Protected Attributes

Partitionp
storage::MdPartInfo info

Private Member Functions

 MdPart (const MdPart &)
MdPartoperator= (const MdPart &)

Friends

std::ostream & operator<< (std::ostream &s, const MdPart &p)


Constructor & Destructor Documentation

storage::MdPart::MdPart ( const MdPartCo c,
const string &  name,
const string &  device,
unsigned  nr,
Partition p 
)

storage::MdPart::MdPart ( const MdPartCo c,
const MdPart v 
)

References storage::Device::dev, and y2deb.

storage::MdPart::~MdPart (  )  [virtual]

References storage::Device::dev, and y2deb.

storage::MdPart::MdPart ( const MdPart  )  [private]


Member Function Documentation

virtual void storage::MdPart::print ( std::ostream &  s  )  const [inline, virtual]

Reimplemented from storage::Volume.

void storage::MdPart::getInfo ( storage::MdPartInfo info  )  const

bool storage::MdPart::equalContent ( const MdPart rhs  )  const

void storage::MdPart::logDifference ( std::ostream &  log,
const MdPart rhs 
) const

void storage::MdPart::setPtr ( Partition pa  )  [inline]

Partition* storage::MdPart::getPtr (  )  const [inline]

unsigned storage::MdPart::id (  )  const [inline]

References id().

Referenced by id(), and setTypeText().

void storage::MdPart::updateName (  ) 

void storage::MdPart::updateMinor (  ) 

void storage::MdPart::updateSize ( const ProcParts pp  ) 

void storage::MdPart::updateSize (  ) 

void storage::MdPart::getCommitActions ( list< commitAction > &  l  )  const [virtual]

void storage::MdPart::addUdevData (  ) 

list< string > storage::MdPart::udevId (  )  const [virtual]

Text storage::MdPart::setTypeText ( bool  doing  )  const [virtual]

static bool storage::MdPart::notDeleted ( const MdPart l  )  [inline, static]

virtual string storage::MdPart::procName (  )  const [inline, virtual]

Reimplemented from storage::Device.

References storage::Device::nm.

Referenced by sysfsPath(), and updateSize().

string storage::MdPart::sysfsPath (  )  const [virtual]

Reimplemented from storage::Device.

References co(), procName(), and storage::MdPartCo::sysfsPath().

list< string > storage::MdPart::getUsing (  )  const [virtual]

Reimplemented from storage::Device.

References storage::Volume::cont, and storage::Device::device().

const MdPartCo * storage::MdPart::co (  )  const [protected]

void storage::MdPart::addAltUdevId ( unsigned  num  )  [protected]

MdPart& storage::MdPart::operator= ( const MdPart  )  [private]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const MdPart p 
) [friend]


Member Data Documentation

Reimplemented from storage::Volume.

Referenced by getInfo().


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

Generated on Mon Feb 6 10:42:58 2012 for yast2-storage by  doxygen 1.5.6