|
yast2-storage
|
#include <MdPart.h>
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) |
| Partition * | getPtr () 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 MdPartCo * | co () const |
| void | addAltUdevId (unsigned num) |
Protected Attributes | |
| Partition * | p |
| storage::MdPartInfo | info |
Private Member Functions | |
| MdPart (const MdPart &) | |
| MdPart & | operator= (const MdPart &) |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const MdPart &p) |
| storage::MdPart::MdPart | ( | const MdPartCo & | c, |
| const string & | name, | ||
| const string & | device, | ||
| unsigned | nr, | ||
| Partition * | p | ||
| ) |
References storage::getMajorMinor(), and y2mil.
References storage::Device::dev, and y2deb.
| storage::MdPart::~MdPart | ( | ) | [virtual] |
| storage::MdPart::MdPart | ( | const MdPart & | ) | [private] |
| void storage::MdPart::addAltUdevId | ( | unsigned | num | ) | [protected] |
| void storage::MdPart::addUdevData | ( | ) |
Referenced by storage::MdPartCo::addNewDev().
| 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.
| void storage::MdPart::logDifference | ( | std::ostream & | log, |
| const MdPart & | rhs | ||
| ) | const |
| static bool storage::MdPart::notDeleted | ( | const MdPart & | l | ) | [inline, static] |
| 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] |
References storage::_(), and storage::sformat().
Referenced by storage::MdPartCo::doSetType().
| 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 | ( | ) |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const MdPart & | p | ||
| ) | [friend] |
storage::MdPartInfo storage::MdPart::info [mutable, protected] |
Reimplemented from storage::Volume.
Partition* storage::MdPart::p [protected] |
Referenced by getPtr().
1.7.3