#include <StorageTypes.h>
Public Member Functions | |
| usedBy () | |
| usedBy (storage::UsedByType typ, const string &n) | |
| void | clear () |
| void | set (storage::UsedByType type, const string &n) |
| bool | operator== (const usedBy &rhs) const |
| bool | operator!= (const usedBy &rhs) const |
| operator string () const | |
| storage::UsedByType | type () const |
| const string & | name () const |
Public Attributes | |
| storage::UsedByType | t |
| string | nm |
Friends | |
| std::ostream & | operator<< (std::ostream &, const usedBy &) |
| storage::usedBy::usedBy | ( | ) | [inline] |
| storage::usedBy::usedBy | ( | storage::UsedByType | typ, | |
| const string & | n | |||
| ) | [inline] |
| void storage::usedBy::clear | ( | ) | [inline] |
| void storage::usedBy::set | ( | storage::UsedByType | type, | |
| const string & | n | |||
| ) | [inline] |
References nm, t, type(), and storage::UB_NONE.
Referenced by storage::Volume::setUsedBy(), and storage::Container::setUsedBy().
| bool storage::usedBy::operator!= | ( | const usedBy & | rhs | ) | const [inline] |
| storage::usedBy::operator string | ( | ) | const [inline] |
References nm, t, storage::UB_DM, storage::UB_DMRAID, storage::UB_EVMS, storage::UB_LVM, storage::UB_MD, and storage::UB_NONE.
| storage::UsedByType storage::usedBy::type | ( | ) | const [inline] |
| const string& storage::usedBy::name | ( | ) | const [inline] |
References nm.
Referenced by storage::Volume::getInfo(), storage::Storage::removeUsing(), storage::Volume::usedByName(), and storage::Container::usedByName().
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const usedBy & | d | |||
| ) | [friend] |
Referenced by storage::Volume::canResize(), storage::Volume::changeFstabOptions(), storage::Volume::changeMount(), storage::Volume::changeMountBy(), clear(), storage::Volume::doFormat(), storage::Volume::doMount(), operator string(), storage::operator<<(), operator==(), set(), storage::Volume::setFormat(), and type().
| string storage::usedBy::nm |
Referenced by clear(), name(), operator string(), operator==(), and set().
1.5.5