#include <Loop.h>

Public Member Functions | |
| Loop (const LoopCo &d, const string &LoopDev, const string &LoopFile, bool dmcrypt, const string &dm_dev, ProcPart &ppart, SystemCmd &losetup) | |
| Loop (const LoopCo &d, const string &file, bool reuseExisting, unsigned long long sizeK, bool dmcr) | |
| Loop (const LoopCo &d, const Loop &d) | |
| virtual | ~Loop () |
| const string & | loopFile () const |
| void | setLoopFile (const string &file) |
| bool | getReuse () |
| void | setReuse (bool reuseExisting) |
| void | setDelFile (bool val=true) |
| bool | removeFile () |
| bool | createFile () |
| string | lfileRealPath () const |
| void | setDmcryptDev (const string &dm_dev, bool active=true) |
| virtual void | print (std::ostream &s) const |
| virtual int | setEncryption (bool val, storage::EncryptType typ=storage::ENC_LUKS) |
| string | removeText (bool doing) const |
| string | createText (bool doing) const |
| string | formatText (bool doing) const |
| void | getInfo (storage::LoopInfo &info) const |
| bool | equalContent (const Loop &rhs) const |
| void | logDifference (const Loop &d) const |
Static Public Member Functions | |
| static unsigned | major () |
| static string | loopDeviceName (unsigned num) |
| static bool | notDeleted (const Loop &l) |
Protected Member Functions | |
| void | init () |
| void | checkReuse () |
| Loop & | operator= (const Loop &) |
Static Protected Member Functions | |
| static void | getLoopMajor () |
Protected Attributes | |
| string | lfile |
| bool | reuseFile |
| bool | delFile |
| storage::LoopInfo | info |
Static Protected Attributes | |
| static unsigned | loop_major = 0 |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Loop &l) |
| Loop::Loop | ( | const LoopCo & | d, | |
| const string & | LoopDev, | |||
| const string & | LoopFile, | |||
| bool | dmcrypt, | |||
| const string & | dm_dev, | |||
| ProcPart & | ppart, | |||
| SystemCmd & | losetup | |||
| ) |
| Loop::Loop | ( | const LoopCo & | d, | |
| const string & | file, | |||
| bool | reuseExisting, | |||
| unsigned long long | sizeK, | |||
| bool | dmcr | |||
| ) |
| Loop::~Loop | ( | ) | [virtual] |
| const string& storage::Loop::loopFile | ( | ) | const [inline] |
| void Loop::setLoopFile | ( | const string & | file | ) |
| bool storage::Loop::getReuse | ( | ) | [inline] |
| void Loop::setReuse | ( | bool | reuseExisting | ) |
| void storage::Loop::setDelFile | ( | bool | val = true |
) | [inline] |
| bool Loop::removeFile | ( | ) |
| bool Loop::createFile | ( | ) |
| string Loop::lfileRealPath | ( | ) | const |
| void Loop::setDmcryptDev | ( | const string & | dm_dev, | |
| bool | active = true | |||
| ) |
Reimplemented from storage::Volume.
| virtual void storage::Loop::print | ( | std::ostream & | s | ) | const [inline, virtual] |
Reimplemented from storage::Volume.
| int Loop::setEncryption | ( | bool | val, | |
| storage::EncryptType | typ = storage::ENC_LUKS | |||
| ) | [virtual] |
Reimplemented from storage::Volume.
| string Loop::removeText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
| string Loop::createText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
| string Loop::formatText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
| void Loop::getInfo | ( | storage::LoopInfo & | info | ) | const |
| bool Loop::equalContent | ( | const Loop & | rhs | ) | const |
| void Loop::logDifference | ( | const Loop & | d | ) | const |
| unsigned Loop::major | ( | ) | [static] |
| string Loop::loopDeviceName | ( | unsigned | num | ) | [static] |
| static bool storage::Loop::notDeleted | ( | const Loop & | l | ) | [inline, static] |
| void Loop::init | ( | ) | [protected] |
Reimplemented from storage::Volume.
| void Loop::checkReuse | ( | ) | [protected] |
| void Loop::getLoopMajor | ( | ) | [static, protected] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Loop & | l | |||
| ) | [friend] |
string storage::Loop::lfile [protected] |
bool storage::Loop::reuseFile [protected] |
bool storage::Loop::delFile [protected] |
unsigned Loop::loop_major = 0 [static, protected] |
storage::LoopInfo storage::Loop::info [mutable, protected] |
Reimplemented from storage::Volume.
1.5.3