#include <StorageTypes.h>
Public Member Functions | |
| usedBy () | |
| usedBy (storage::UsedByType type, const string &name) | |
| void | clear () |
| void | set (storage::UsedByType type, const string &name) |
| bool | operator== (const usedBy &rhs) const |
| bool | operator!= (const usedBy &rhs) const |
| operator string () const | |
| storage::UsedByType | type () const |
| const string & | name () const |
| const string | device () const |
Private Attributes | |
| storage::UsedByType | ub_type |
| string | ub_name |
Friends | |
| std::ostream & | operator<< (std::ostream &, const usedBy &) |
| storage::usedBy::usedBy | ( | ) | [inline] |
| storage::usedBy::usedBy | ( | storage::UsedByType | type, | |
| const string & | name | |||
| ) | [inline] |
| void storage::usedBy::clear | ( | ) | [inline] |
References ub_name, storage::UB_NONE, and ub_type.
Referenced by storage::Volume::clearUsedBy(), and storage::Container::clearUsedBy().
| void storage::usedBy::set | ( | storage::UsedByType | type, | |
| const string & | name | |||
| ) | [inline] |
References name(), type(), ub_name, storage::UB_NONE, and ub_type.
Referenced by storage::Volume::setUsedBy(), and storage::Container::setUsedBy().
| bool storage::usedBy::operator== | ( | const usedBy & | rhs | ) | const [inline] |
| bool storage::usedBy::operator!= | ( | const usedBy & | rhs | ) | const [inline] |
| storage::usedBy::operator string | ( | ) | const |
References name(), type(), storage::UB_DM, storage::UB_DMMULTIPATH, storage::UB_DMRAID, storage::UB_LVM, storage::UB_MD, and storage::UB_NONE.
| storage::UsedByType storage::usedBy::type | ( | ) | const [inline] |
References ub_type.
Referenced by storage::Volume::canResize(), storage::Volume::changeMountBy(), storage::Volume::doFormat(), storage::Volume::doMount(), storage::Volume::getInfo(), storage::Container::getInfo(), storage::Volume::getUsedByType(), storage::Container::getUsedByType(), storage::Storage::initialize(), operator string(), storage::operator<<(), set(), and storage::Volume::setFormat().
| const string& storage::usedBy::name | ( | ) | const [inline] |
References ub_name.
Referenced by storage::Volume::getInfo(), storage::Container::getInfo(), operator string(), and set().
| const string storage::usedBy::device | ( | ) | const |
References storage::UB_DM, storage::UB_DMMULTIPATH, storage::UB_DMRAID, storage::UB_LVM, storage::UB_MD, ub_name, storage::UB_NONE, and ub_type.
Referenced by storage::Volume::getInfo(), and storage::Container::getInfo().
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const usedBy & | d | |||
| ) | [friend] |
storage::UsedByType storage::usedBy::ub_type [private] |
Referenced by clear(), device(), operator==(), set(), and type().
string storage::usedBy::ub_name [private] |
Referenced by clear(), device(), name(), operator==(), and set().
1.5.6