yast2-storage
Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Friends

storage::DmmultipathCo Class Reference

#include <DmmultipathCo.h>

Inheritance diagram for storage::DmmultipathCo:
storage::DmPartCo storage::PeContainer storage::Container storage::Device

List of all members.

Classes

struct  DmmultipathCPI
struct  DmmultipathPI

Public Member Functions

 DmmultipathCo (Storage *s, const string &name, const string &device, SystemInfo &systeminfo)
 DmmultipathCo (const DmmultipathCo &c)
virtual ~DmmultipathCo ()
void getInfo (storage::DmmultipathCoInfo &info) const
void setUdevData (const list< string > &id)
bool equalContent (const Container &rhs) const
void logDifference (std::ostream &log, const DmmultipathCo &rhs) const
virtual void logDifferenceWithVolumes (std::ostream &log, const Container &rhs) const

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
virtual void print (std::ostream &s) const
virtual ContainergetCopy () const
void getMultipathData (const string &name, SystemInfo &systeminfo)
void addPv (const Pv &pv)
void newP (DmPart *&dm, unsigned num, Partition *p)
void newP (DmPart *&dm, unsigned num, Partition *p, SystemInfo &si)

Static Protected Member Functions

static void activate (bool val)
static bool isActive ()
static list< string > getMultipaths (SystemInfo &systeminfo)

Protected Attributes

string vendor
string model

Static Protected Attributes

static bool active = false

Private Member Functions

DmmultipathCooperator= (const DmmultipathCo &)

Friends

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

Member Typedef Documentation


Constructor & Destructor Documentation

storage::DmmultipathCo::DmmultipathCo ( Storage s,
const string &  name,
const string &  device,
SystemInfo systeminfo 
)
storage::DmmultipathCo::DmmultipathCo ( const DmmultipathCo c)

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

storage::DmmultipathCo::~DmmultipathCo ( ) [virtual]

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


Member Function Documentation

void storage::DmmultipathCo::activate ( bool  val) [static, protected]
void storage::DmmultipathCo::addPv ( const Pv pv) [protected]
DmmultipathIter storage::DmmultipathCo::dmmultipathBegin ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL) [inline, protected]
ConstDmmultipathIter storage::DmmultipathCo::dmmultipathBegin ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL) const [inline, protected]
DmmultipathIter storage::DmmultipathCo::dmmultipathEnd ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL) [inline, protected]
ConstDmmultipathIter storage::DmmultipathCo::dmmultipathEnd ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL) const [inline, protected]
DmmultipathPair storage::DmmultipathCo::dmmultipathPair ( bool(*)(const Dmmultipath &)  CheckDmmultipath = NULL) [inline, protected]

References dmmultipathBegin(), and dmmultipathEnd().

Referenced by setUdevData().

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

Reimplemented from storage::Container.

References model, and vendor.

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

Implements storage::DmPartCo.

void storage::DmmultipathCo::getInfo ( storage::DmmultipathCoInfo info) const
void storage::DmmultipathCo::getMultipathData ( const string &  name,
SystemInfo systeminfo 
) [protected]
list< string > storage::DmmultipathCo::getMultipaths ( SystemInfo systeminfo) [static, protected]
static bool storage::DmmultipathCo::isActive ( ) [inline, static, protected]
void storage::DmmultipathCo::logDifference ( std::ostream &  log,
const DmmultipathCo rhs 
) const

References storage::logDiff(), model, and vendor.

Referenced by logDifferenceWithVolumes().

void storage::DmmultipathCo::logDifferenceWithVolumes ( std::ostream &  log,
const Container rhs 
) const [virtual]
void storage::DmmultipathCo::newP ( DmPart *&  dm,
unsigned  num,
Partition p,
SystemInfo si 
) [protected, virtual]
void storage::DmmultipathCo::newP ( DmPart *&  dm,
unsigned  num,
Partition p 
) [protected, virtual]
DmmultipathCo& storage::DmmultipathCo::operator= ( const DmmultipathCo ) [private]
virtual void storage::DmmultipathCo::print ( std::ostream &  s) const [inline, protected, virtual]

Reimplemented from storage::DmPartCo.

References DmmultipathCo().

void storage::DmmultipathCo::setUdevData ( const list< string > &  id)
static storage::CType storage::DmmultipathCo::staticType ( ) [inline, static]

Reimplemented from storage::DmPartCo.


Friends And Related Function Documentation

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

Reimplemented from storage::DmPartCo.


Member Data Documentation

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

Reimplemented from storage::DmPartCo.

Referenced by activate(), and getMultipaths().

string storage::DmmultipathCo::model [protected]
string storage::DmmultipathCo::vendor [protected]

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