yast2-storage
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends

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 
)

References storage::getMajorMinor(), and y2mil.

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

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

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

Member Function Documentation

void storage::MdPart::addAltUdevId ( unsigned  num) [protected]
void storage::MdPart::addUdevData ( )
const MdPartCo * storage::MdPart::co ( ) const [protected]
bool storage::MdPart::equalContent ( const MdPart rhs) const
void storage::MdPart::getCommitActions ( list< commitAction > &  l) const [virtual]

Reimplemented from storage::Volume.

void storage::MdPart::getInfo ( storage::MdPartInfo info) const
Partition* storage::MdPart::getPtr ( ) const [inline]
list< string > storage::MdPart::getUsing ( ) const [virtual]

Reimplemented from storage::Device.

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

References id().

Referenced by id().

void storage::MdPart::logDifference ( std::ostream &  log,
const MdPart rhs 
) const
static bool storage::MdPart::notDeleted ( const MdPart l) [inline, static]
MdPart& storage::MdPart::operator= ( const MdPart ) [private]
virtual void storage::MdPart::print ( std::ostream &  s) const [inline, virtual]

Reimplemented from storage::Volume.

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

Reimplemented from storage::Device.

References storage::Device::nm.

void storage::MdPart::setPtr ( Partition pa) [inline]
Text storage::MdPart::setTypeText ( bool  doing) const [virtual]
string storage::MdPart::sysfsPath ( ) const [virtual]

Reimplemented from storage::Device.

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

Reimplemented from storage::Device.

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

Friends And Related Function Documentation

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

Member Data Documentation

Reimplemented from storage::Volume.

Referenced by getPtr().


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