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 bool notDeleted (const Loop &l)

Protected Member Functions

void init ()
void checkReuse ()
Loopoperator= (const Loop &)

Protected Attributes

string lfile
bool reuseFile
bool delFile
storage::LoopInfo info

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

void Loop::checkReuse  )  [protected]
 

bool Loop::createFile  ) 
 

string Loop::createText bool  doing  )  const [virtual]
 

Reimplemented from storage::Volume.

bool Loop::equalContent const Loop rhs  )  const
 

string Loop::formatText bool  doing  )  const [virtual]
 

Reimplemented from storage::Volume.

void Loop::getInfo storage::LoopInfo info  )  const
 

bool storage::Loop::getReuse  )  [inline]
 

void Loop::init  )  [protected]
 

Reimplemented from storage::Volume.

string Loop::lfileRealPath  )  const
 

void Loop::logDifference const Loop d  )  const
 

const string& storage::Loop::loopFile  )  const [inline]
 

static bool storage::Loop::notDeleted const Loop l  )  [inline, static]
 

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

virtual void storage::Loop::print std::ostream &  s  )  const [inline, virtual]
 

Reimplemented from storage::Volume.

bool Loop::removeFile  ) 
 

string Loop::removeText bool  doing  )  const [virtual]
 

Reimplemented from storage::Volume.

void storage::Loop::setDelFile bool  val = true  )  [inline]
 

void Loop::setLoopFile const string &  file  ) 
 

void Loop::setReuse bool  reuseExisting  ) 
 


Friends And Related Function Documentation

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


Member Data Documentation

bool storage::Loop::delFile [protected]
 

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

Reimplemented from storage::Volume.

string storage::Loop::lfile [protected]
 

bool storage::Loop::reuseFile [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:40:25 2006 for yast2-storage by  doxygen 1.4.6