storage::Loop Class Reference

#include <Loop.h>

Inheritance diagram for storage::Loop:

storage::Volume List of all members.

Public Member Functions

 Loop (const LoopCo &d, const string &LoopDev, const string &LoopFile, ProcPart &ppart)
 Loop (const LoopCo &d, const string &file, bool reuseExisting, unsigned long long sizeK)
 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
virtual void print (std::ostream &s) const
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 loopMajor ()
static bool notDeleted (const Loop &l)

Protected Member Functions

void init ()
void checkReuse ()
Loopoperator= (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

Friends

std::ostream & operator<< (std::ostream &s, const Loop &l)

Constructor & Destructor Documentation

Loop::Loop ( const LoopCo d,
const string &  LoopDev,
const string &  LoopFile,
ProcPart ppart 
)

Loop::Loop ( const LoopCo d,
const string &  file,
bool  reuseExisting,
unsigned long long  sizeK 
)

Loop::Loop ( const LoopCo d,
const Loop d 
)

Loop::~Loop (  )  [virtual]


Member Function Documentation

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

virtual void storage::Loop::print ( std::ostream &  s  )  const [inline, 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::loopMajor (  )  [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]

Loop & Loop::operator= ( const Loop  )  [protected]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const Loop l 
) [friend]


Member Data Documentation

string storage::Loop::lfile [protected]

bool storage::Loop::reuseFile [protected]

bool storage::Loop::delFile [protected]

unsigned Loop::loop_major [static, protected]

storage::LoopInfo storage::Loop::info [mutable, protected]

Reimplemented from storage::Volume.


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 17:50:01 2006 for yast2-storage by  doxygen 1.5.0