#include <LvmLv.h>

Public Member Functions | |
| LvmLv (const LvmVg &d, const string &name, unsigned long le, const string &uuid, const string &status, const string &alloc) | |
| LvmLv (const LvmVg &d, const string &name, unsigned long le, unsigned stripe) | |
| LvmLv (const LvmVg &d, const LvmLv &l) | |
| virtual | ~LvmLv () |
| void | setUuid (const string &uuid) |
| void | setStatus (const string &s) |
| void | setAlloc (const string &a) |
| virtual void | print (std::ostream &s) const |
| string | removeText (bool doing) const |
| string | createText (bool doing) const |
| string | formatText (bool doing) const |
| string | resizeText (bool doing) const |
| void | getInfo (storage::LvmLvInfo &info) const |
| bool | equalContent (const LvmLv &rhs) const |
| void | logDifference (const LvmLv &d) const |
Protected Member Functions | |
| void | init (const string &name) |
| virtual const string | shortPrintedName () const |
| LvmLv & | operator= (const LvmLv &) |
Protected Attributes | |
| string | vol_uuid |
| string | status |
| string | allocation |
| storage::LvmLvInfo | info |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const LvmLv &p) |
| LvmLv::LvmLv | ( | const LvmVg & | d, | |
| const string & | name, | |||
| unsigned long | le, | |||
| const string & | uuid, | |||
| const string & | status, | |||
| const string & | alloc | |||
| ) |
| LvmLv::LvmLv | ( | const LvmVg & | d, | |
| const string & | name, | |||
| unsigned long | le, | |||
| unsigned | stripe | |||
| ) |
References storage::Volume::alt_names, storage::Dm::calcSize(), storage::Volume::cont, storage::Volume::detected_fs, storage::Volume::dev, storage::dupDash(), storage::Volume::fs, storage::FSNONE, storage::Dm::init(), storage::Container::name(), storage::Dm::setLe(), storage::Dm::stripe, and y2debug.
References storage::Volume::dev, and y2debug.
| LvmLv::~LvmLv | ( | ) | [virtual] |
References storage::Volume::dev, and y2debug.
| void storage::LvmLv::setUuid | ( | const string & | uuid | ) | [inline] |
| void storage::LvmLv::setStatus | ( | const string & | s | ) | [inline] |
Referenced by LvmLv().
| void storage::LvmLv::setAlloc | ( | const string & | a | ) | [inline] |
| virtual void storage::LvmLv::print | ( | std::ostream & | s | ) | const [inline, virtual] |
Reimplemented from storage::Dm.
| string LvmLv::removeText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Dm.
References storage::_(), storage::Volume::dev, storage::sformat(), and storage::Volume::sizeString().
Referenced by storage::LvmVg::doRemove().
| string LvmLv::createText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
References storage::_(), storage::Volume::dev, storage::ENC_NONE, storage::Volume::encryption, storage::Volume::fsTypeString(), storage::Volume::mp, storage::sformat(), and storage::Volume::sizeString().
| string LvmLv::formatText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Dm.
References storage::_(), storage::Volume::dev, storage::ENC_NONE, storage::Volume::encryption, storage::Volume::fsTypeString(), storage::Volume::mp, storage::sformat(), and storage::Volume::sizeString().
| string LvmLv::resizeText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
References storage::_(), storage::Volume::dev, storage::Volume::needShrink(), storage::sformat(), and storage::Volume::sizeString().
| void LvmLv::getInfo | ( | storage::LvmLvInfo & | info | ) | const |
References allocation, storage::LvmLvInfo::allocation, storage::LvmLvInfo::dm_table, storage::LvmLvInfo::dm_target, info, status, storage::LvmLvInfo::status, storage::Dm::stripe, storage::LvmLvInfo::stripe, storage::Dm::stripe_size, storage::LvmLvInfo::stripe_size, storage::Dm::target, storage::Dm::tname, storage::LvmLvInfo::uuid, storage::LvmLvInfo::v, and vol_uuid.
| bool LvmLv::equalContent | ( | const LvmLv & | rhs | ) | const |
References allocation, storage::Dm::equalContent(), status, and vol_uuid.
| void LvmLv::logDifference | ( | const LvmLv & | d | ) | const |
References allocation, status, storage::Dm::stringDifference(), vol_uuid, and y2milestone.
| void LvmLv::init | ( | const string & | name | ) | [protected] |
| virtual const string storage::LvmLv::shortPrintedName | ( | ) | const [inline, protected, virtual] |
Reimplemented from storage::Dm.
References allocation, storage::Volume::nm, status, vol_uuid, and y2debug.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const LvmLv & | p | |||
| ) | [friend] |
string storage::LvmLv::vol_uuid [protected] |
Referenced by equalContent(), getInfo(), logDifference(), storage::operator<<(), operator=(), and setUuid().
string storage::LvmLv::status [protected] |
Referenced by equalContent(), getInfo(), logDifference(), storage::operator<<(), and operator=().
string storage::LvmLv::allocation [protected] |
Referenced by equalContent(), getInfo(), logDifference(), storage::operator<<(), operator=(), and setAlloc().
storage::LvmLvInfo storage::LvmLv::info [mutable, protected] |
1.5.5