#include <MdPart.h>

Public Member Functions | |
| MdPart (const MdPartCo &d, unsigned nr, Partition *p=NULL) | |
| MdPart (const MdPartCo &d, const MdPart &rd) | |
| MdPart & | operator= (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) |
| Partition * | getPtr () 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 MdPartCo * | co () const |
| void | addAltUdevId (unsigned num) |
Protected Attributes | |
| Partition * | p |
| storage::MdPartInfo | info |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const MdPart &p) |
References storage::Volume::dev, and y2deb.
| storage::MdPart::~MdPart | ( | ) | [virtual] |
References storage::Volume::dev, and y2deb.
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 |
References storage::Partition::getInfo(), info, storage::MdPartInfo::p, p, storage::MdPartInfo::part, and storage::MdPartInfo::v.
| void storage::MdPart::getPartitionInfo | ( | storage::PartitionInfo & | pinfo | ) |
References storage::Partition::getInfo(), info, p, and storage::PartitionInfo::v.
| bool storage::MdPart::equalContent | ( | const MdPart & | rhs | ) | const |
References storage::Volume::equalContent().
| void storage::MdPart::logDifference | ( | const MdPart & | d | ) | const |
References storage::Volume::logDifference(), and y2mil.
| void storage::MdPart::setPtr | ( | Partition * | pa | ) | [inline] |
| Partition* storage::MdPart::getPtr | ( | ) | const [inline] |
| unsigned storage::MdPart::id | ( | ) | const [inline] |
| void storage::MdPart::updateName | ( | ) |
| void storage::MdPart::updateMinor | ( | ) |
| void storage::MdPart::updateSize | ( | ProcPart & | pp | ) |
References storage::EXTENDED, storage::ProcPart::getSize(), storage::Volume::mjr, storage::Volume::nm, p, storage::Volume::setSize(), storage::Partition::type(), and updateSize().
Referenced by storage::MdPartCo::getVolumes(), storage::MdPartCo::resizePartition(), and storage::MdPartCo::resizeVolume().
| void storage::MdPart::updateSize | ( | ) |
References storage::Volume::orig_size_k, storage::Volume::origSizeK(), p, storage::Volume::size_k, and storage::Volume::sizeK().
Referenced by updateSize().
| void storage::MdPart::getCommitActions | ( | std::list< storage::commitAction * > & | l | ) | const [virtual] |
Reimplemented from storage::Volume.
References storage::Volume::cont, storage::Volume::getCommitActions(), storage::INCREASE, p, setTypeText(), storage::Container::staticType(), and toChangeId().
| void storage::MdPart::addUdevData | ( | ) |
References addAltUdevId(), and storage::Volume::num.
| const std::list< string > storage::MdPart::udevId | ( | ) | const [virtual] |
Reimplemented from storage::Volume.
References co(), storage::Volume::num, storage::udevAppendPart(), and storage::MdPartCo::udevId().
Referenced by addAltUdevId().
| string storage::MdPart::setTypeText | ( | bool | doing = true |
) | const [virtual] |
References storage::_(), storage::Volume::dev, id(), and storage::sformat().
Referenced by storage::MdPartCo::doSetType(), and getCommitActions().
| static bool storage::MdPart::notDeleted | ( | const MdPart & | l | ) | [inline, static] |
References storage::Volume::deleted().
Referenced by storage::MdPartCo::findMdPart(), storage::Storage::getMdPartInfo(), and storage::MdPartCo::removeMdPart().
| void storage::MdPart::init | ( | const string & | name | ) | [protected] |
References storage::Volume::dev, storage::Volume::nm, and p.
| 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] |
| void storage::MdPart::addAltUdevId | ( | unsigned | num | ) | [protected] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const MdPart & | p | |||
| ) | [friend] |
Partition* storage::MdPart::p [protected] |
Referenced by getCommitActions(), getInfo(), getPartitionInfo(), init(), MdPart(), updateName(), and updateSize().
storage::MdPartInfo storage::MdPart::info [mutable, protected] |
1.5.6