storage::DmmultipathCo Class Reference

#include <DmmultipathCo.h>

Inheritance diagram for storage::DmmultipathCo:

storage::DmPartCo storage::PeContainer storage::Container

List of all members.

Public Member Functions

 DmmultipathCo (Storage *const s, const string &Name, ProcPart &ppart)
 DmmultipathCo (Storage *const s, const string &Name, unsigned num, unsigned long long Size, ProcPart &ppart)
 DmmultipathCo (const DmmultipathCo &rhs)
virtual ~DmmultipathCo ()
void getInfo (storage::DmmultipathCoInfo &info) const
void setUdevData (const list< string > &id)
bool equalContent (const Container &rhs) const
string getDiffString (const Container &d) const
DmmultipathCooperator= (const DmmultipathCo &rhs)

Static Public Member Functions

static storage::CType staticType ()

Protected Types

typedef CastIterator< VIter,
Dmmultipath * > 
DmmultipathInter
typedef CastIterator< CVIter,
const Dmmultipath * > 
DmmultipathCInter
typedef CheckFnc< const
Dmmultipath
CheckFncDmmultipath
typedef CheckerIterator
< CheckFncDmmultipath,
DmmultipathPI
< CheckFncDmmultipath >::type,
DmmultipathInter, Dmmultipath
DmmultipathPIterator
typedef CheckerIterator
< CheckFncDmmultipath,
DmmultipathCPI
< CheckFncDmmultipath >::type,
DmmultipathCInter, const
Dmmultipath
DmmultipathCPIterator
typedef DerefIterator
< DmmultipathPIterator,
Dmmultipath
DmmultipathIter
typedef DerefIterator
< DmmultipathCPIterator, const
Dmmultipath
ConstDmmultipathIter
typedef IterPair< DmmultipathIterDmmultipathPair
typedef IterPair
< ConstDmmultipathIter
ConstDmmultipathPair

Protected Member Functions

DmmultipathPair dmmultipathPair (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL)
DmmultipathIter dmmultipathBegin (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL)
DmmultipathIter dmmultipathEnd (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL)
ConstDmmultipathPair dmmultipathPair (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL) const
ConstDmmultipathIter dmmultipathBegin (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL) const
ConstDmmultipathIter dmmultipathEnd (bool(*CheckDmmultipath)(const Dmmultipath &)=NULL) const
 DmmultipathCo (Storage *const s, const string &File)
virtual void print (std::ostream &s) const
virtual ContainergetCopy () const
void getMultipathData (const string &name)
void addMultipath (const string &name)
void addPv (Pv *&p)
void newP (DmPart *&dm, unsigned num, Partition *p)
string setDiskLabelText (bool doing) const
void logData (const string &Dir)

Static Protected Member Functions

static string undevName (const string &name)
static void activate (bool val=true)
static bool isActive ()
static void getMultipaths (std::list< string > &l)
static bool multipathNotDeleted (const Dmmultipath &d)

Protected Attributes

string vendor
string model

Static Protected Attributes

static bool active = false

Friends

class Storage
std::ostream & operator<< (std::ostream &, const DmmultipathCo &)

Classes

struct  DmmultipathCPI
struct  DmmultipathPI


Member Typedef Documentation


Constructor & Destructor Documentation

storage::DmmultipathCo::DmmultipathCo ( Storage *const   s,
const string &  Name,
ProcPart ppart 
)

Referenced by getCopy().

storage::DmmultipathCo::DmmultipathCo ( Storage *const   s,
const string &  Name,
unsigned  num,
unsigned long long  Size,
ProcPart ppart 
)

DmmultipathCo::DmmultipathCo ( const DmmultipathCo rhs  ) 

References model, and vendor.

DmmultipathCo::~DmmultipathCo (  )  [virtual]

References storage::Container::dev, and y2deb.

storage::DmmultipathCo::DmmultipathCo ( Storage *const   s,
const string &  File 
) [protected]


Member Function Documentation

static storage::CType storage::DmmultipathCo::staticType (  )  [inline, static]

Reimplemented from storage::DmPartCo.

References storage::DMMULTIPATH.

void DmmultipathCo::getInfo ( storage::DmmultipathCoInfo info  )  const

void storage::DmmultipathCo::setUdevData ( const list< string > &  id  ) 

Reimplemented from storage::DmPartCo.

Referenced by storage::Storage::detectDmmultipath().

bool DmmultipathCo::equalContent ( const Container rhs  )  const [virtual]

string DmmultipathCo::getDiffString ( const Container d  )  const [virtual]

Reimplemented from storage::DmPartCo.

References storage::DmPartCo::getDiffString(), model, and vendor.

DmmultipathCo& storage::DmmultipathCo::operator= ( const DmmultipathCo rhs  ) 

DmmultipathPair storage::DmmultipathCo::dmmultipathPair ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  [inline, protected]

DmmultipathIter storage::DmmultipathCo::dmmultipathBegin ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  [inline, protected]

DmmultipathIter storage::DmmultipathCo::dmmultipathEnd ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  [inline, protected]

ConstDmmultipathPair storage::DmmultipathCo::dmmultipathPair ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  const [inline, protected]

ConstDmmultipathIter storage::DmmultipathCo::dmmultipathBegin ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  const [inline, protected]

ConstDmmultipathIter storage::DmmultipathCo::dmmultipathEnd ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL  )  const [inline, protected]

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

Reimplemented from storage::DmPartCo.

virtual Container* storage::DmmultipathCo::getCopy (  )  const [inline, protected, virtual]

Reimplemented from storage::DmPartCo.

References DmmultipathCo().

void storage::DmmultipathCo::getMultipathData ( const string &  name  )  [protected]

void storage::DmmultipathCo::addMultipath ( const string &  name  )  [protected]

void DmmultipathCo::addPv ( Pv *&  p  )  [protected]

void DmmultipathCo::newP ( DmPart *&  dm,
unsigned  num,
Partition p 
) [protected, virtual]

Reimplemented from storage::DmPartCo.

References y2mil.

string DmmultipathCo::setDiskLabelText ( bool  doing  )  const [protected, virtual]

static string storage::DmmultipathCo::undevName ( const string &  name  )  [static, protected]

Reimplemented from storage::DmPartCo.

void DmmultipathCo::activate ( bool  val = true  )  [static, protected]

static bool storage::DmmultipathCo::isActive (  )  [inline, static, protected]

References active.

static void storage::DmmultipathCo::getMultipaths ( std::list< string > &  l  )  [static, protected]

static bool storage::DmmultipathCo::multipathNotDeleted ( const Dmmultipath d  )  [inline, static, protected]

void storage::DmmultipathCo::logData ( const string &  Dir  )  [protected, virtual]

Reimplemented from storage::DmPartCo.


Friends And Related Function Documentation

friend class Storage [friend]

Reimplemented from storage::DmPartCo.

std::ostream& operator<< ( std::ostream &  s,
const DmmultipathCo d 
) [friend]


Member Data Documentation

string storage::DmmultipathCo::vendor [protected]

string storage::DmmultipathCo::model [protected]

bool DmmultipathCo::active = false [static, protected]

Reimplemented from storage::DmPartCo.

Referenced by activate(), and isActive().


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

Generated on Sun Dec 7 21:01:51 2008 for yast2-storage by  doxygen 1.5.6