storage::LvmLv Class Reference

#include <LvmLv.h>

Inheritance diagram for storage::LvmLv:

storage::Dm storage::Volume

List of all members.

Public Member Functions

 LvmLv (const LvmVg &d, const string &name, unsigned long le, const string &uuid, const string &status, const string &alloc)
 LvmLv (const LvmVg &d, const string &name, unsigned long le, unsigned stripe)
 LvmLv (const LvmVg &d, const LvmLv &l)
virtual ~LvmLv ()
void setUuid (const string &uuid)
void setStatus (const string &s)
void setAlloc (const string &a)
virtual void print (std::ostream &s) const
string removeText (bool doing) const
string createText (bool doing) const
string formatText (bool doing) const
string resizeText (bool doing) const
void getInfo (storage::LvmLvInfo &info) const
bool equalContent (const LvmLv &rhs) const
void logDifference (const LvmLv &d) const

Protected Member Functions

void init (const string &name)
virtual const string shortPrintedName () const
LvmLvoperator= (const LvmLv &)

Protected Attributes

string vol_uuid
string status
string allocation
storage::LvmLvInfo info

Friends

std::ostream & operator<< (std::ostream &s, const LvmLv &p)


Constructor & Destructor Documentation

LvmLv::LvmLv ( const LvmVg d,
const string &  name,
unsigned long  le,
const string &  uuid,
const string &  status,
const string &  alloc 
)

LvmLv::LvmLv ( const LvmVg d,
const string &  name,
unsigned long  le,
unsigned  stripe 
)

LvmLv::LvmLv ( const LvmVg d,
const LvmLv l 
)

References storage::Volume::dev, and y2debug.

LvmLv::~LvmLv (  )  [virtual]

References storage::Volume::dev, and y2debug.


Member Function Documentation

void storage::LvmLv::setUuid ( const string &  uuid  )  [inline]

Reimplemented from storage::Volume.

References vol_uuid.

Referenced by LvmLv().

void storage::LvmLv::setStatus ( const string &  s  )  [inline]

Referenced by LvmLv().

void storage::LvmLv::setAlloc ( const string &  a  )  [inline]

References allocation.

Referenced by LvmLv().

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

Reimplemented from storage::Dm.

string LvmLv::removeText ( bool  doing  )  const [virtual]

string LvmLv::createText ( bool  doing  )  const [virtual]

string LvmLv::formatText ( bool  doing  )  const [virtual]

string LvmLv::resizeText ( bool  doing  )  const [virtual]

void LvmLv::getInfo ( storage::LvmLvInfo info  )  const

bool LvmLv::equalContent ( const LvmLv rhs  )  const

void LvmLv::logDifference ( const LvmLv d  )  const

void LvmLv::init ( const string &  name  )  [protected]

virtual const string storage::LvmLv::shortPrintedName (  )  const [inline, protected, virtual]

Reimplemented from storage::Dm.

LvmLv & LvmLv::operator= ( const LvmLv rhs  )  [protected]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LvmLv p 
) [friend]


Member Data Documentation

string storage::LvmLv::vol_uuid [protected]

string storage::LvmLv::status [protected]

string storage::LvmLv::allocation [protected]

Reimplemented from storage::Dm.

Referenced by getInfo().


The documentation for this class was generated from the following files:

Generated on Sun Jun 8 10:48:04 2008 for yast2-storage by  doxygen 1.5.5