storage::MdPart Class Reference

#include <MdPart.h>

Inheritance diagram for storage::MdPart:

storage::Volume

List of all members.

Public Member Functions

 MdPart (const MdPartCo &d, unsigned nr, Partition *p=NULL)
 MdPart (const MdPartCo &d, const MdPart &rd)
MdPartoperator= (const MdPart &)
virtual ~MdPart ()
virtual void print (std::ostream &s) const
void getInfo (storage::MdPartInfo &info) const
void getPartitionInfo (storage::PartitionInfo &pinfo)
bool equalContent (const MdPart &rhs) const
void logDifference (const MdPart &d) const
void setPtr (Partition *pa)
PartitiongetPtr () const
unsigned id () const
void updateName ()
void updateMinor ()
void updateSize (ProcPart &pp)
void updateSize ()
void getCommitActions (std::list< storage::commitAction * > &l) const
void addUdevData ()
virtual const std::list< string > udevId () const
virtual string setTypeText (bool doing=true) const

Static Public Member Functions

static bool notDeleted (const MdPart &l)

Protected Member Functions

void init (const string &name)
void dataFromPart (const Partition *p)
virtual const string shortPrintedName () const
const MdPartCoco () const
void addAltUdevId (unsigned num)

Protected Attributes

Partitionp
storage::MdPartInfo info

Friends

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


Constructor & Destructor Documentation

storage::MdPart::MdPart ( const MdPartCo d,
unsigned  nr,
Partition p = NULL 
)

storage::MdPart::MdPart ( const MdPartCo d,
const MdPart rd 
)

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

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

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


Member Function Documentation

MdPart & storage::MdPart::operator= ( const MdPart rhs  ) 

References storage::Volume::nm, and y2deb.

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

Reimplemented from storage::Volume.

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

void storage::MdPart::getPartitionInfo ( storage::PartitionInfo pinfo  ) 

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

void storage::MdPart::logDifference ( const MdPart d  )  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 ( ProcPart pp  ) 

void storage::MdPart::updateSize (  ) 

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

void storage::MdPart::addUdevData (  ) 

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

string storage::MdPart::setTypeText ( bool  doing = true  )  const [virtual]

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

void storage::MdPart::init ( const string &  name  )  [protected]

void storage::MdPart::dataFromPart ( const Partition p  )  [protected]

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

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

References storage::Volume::cont.

Referenced by addAltUdevId(), udevId(), and updateName().

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


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(), and getPartitionInfo().


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

Generated on Tue May 11 23:29:45 2010 for yast2-storage by  doxygen 1.5.6