#include <DmmultipathCo.h>

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 |
| DmmultipathCo & | operator= (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< DmmultipathIter > | DmmultipathPair |
| 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 Container * | getCopy () 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 |
typedef CastIterator<VIter, Dmmultipath *> storage::DmmultipathCo::DmmultipathInter [protected] |
typedef CastIterator<CVIter, const Dmmultipath *> storage::DmmultipathCo::DmmultipathCInter [protected] |
typedef CheckFnc<const Dmmultipath> storage::DmmultipathCo::CheckFncDmmultipath [protected] |
typedef CheckerIterator< CheckFncDmmultipath, DmmultipathPI<CheckFncDmmultipath>::type, DmmultipathInter, Dmmultipath > storage::DmmultipathCo::DmmultipathPIterator [protected] |
typedef CheckerIterator< CheckFncDmmultipath, DmmultipathCPI<CheckFncDmmultipath>::type, DmmultipathCInter, const Dmmultipath > storage::DmmultipathCo::DmmultipathCPIterator [protected] |
typedef DerefIterator<DmmultipathPIterator,Dmmultipath> storage::DmmultipathCo::DmmultipathIter [protected] |
typedef DerefIterator<DmmultipathCPIterator,const Dmmultipath> storage::DmmultipathCo::ConstDmmultipathIter [protected] |
typedef IterPair<DmmultipathIter> storage::DmmultipathCo::DmmultipathPair [protected] |
typedef IterPair<ConstDmmultipathIter> storage::DmmultipathCo::ConstDmmultipathPair [protected] |
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 | ) |
| DmmultipathCo::~DmmultipathCo | ( | ) | [virtual] |
References storage::Container::dev, and y2deb.
| storage::DmmultipathCo::DmmultipathCo | ( | Storage *const | s, | |
| const string & | File | |||
| ) | [protected] |
| static storage::CType storage::DmmultipathCo::staticType | ( | ) | [inline, static] |
| void DmmultipathCo::getInfo | ( | storage::DmmultipathCoInfo & | info | ) | const |
| void storage::DmmultipathCo::setUdevData | ( | const list< string > & | id | ) |
| bool DmmultipathCo::equalContent | ( | const Container & | rhs | ) | const [virtual] |
Reimplemented from storage::Container.
References storage::DmPartCo::equalContent(), storage::Container::equalContent(), model, and vendor.
| 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] |
References dmmultipathBegin(), and dmmultipathEnd().
| DmmultipathIter storage::DmmultipathCo::dmmultipathBegin | ( | bool(*)(const Dmmultipath &) | CheckDmmultipath = NULL |
) | [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
Referenced by dmmultipathPair().
| DmmultipathIter storage::DmmultipathCo::dmmultipathEnd | ( | bool(*)(const Dmmultipath &) | CheckDmmultipath = NULL |
) | [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
Referenced by dmmultipathPair().
| ConstDmmultipathPair storage::DmmultipathCo::dmmultipathPair | ( | bool(*)(const Dmmultipath &) | CheckDmmultipath = NULL |
) | const [inline, protected] |
References dmmultipathBegin(), and dmmultipathEnd().
| ConstDmmultipathIter storage::DmmultipathCo::dmmultipathBegin | ( | bool(*)(const Dmmultipath &) | CheckDmmultipath = NULL |
) | const [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
| ConstDmmultipathIter storage::DmmultipathCo::dmmultipathEnd | ( | bool(*)(const Dmmultipath &) | CheckDmmultipath = NULL |
) | const [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
| 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] |
| void storage::DmmultipathCo::getMultipathData | ( | const string & | name | ) | [protected] |
| void storage::DmmultipathCo::addMultipath | ( | const string & | name | ) | [protected] |
| void DmmultipathCo::addPv | ( | Pv *& | p | ) | [protected] |
| string DmmultipathCo::setDiskLabelText | ( | bool | doing | ) | const [protected, virtual] |
Reimplemented from storage::DmPartCo.
References storage::_(), storage::DmPartCo::labelName(), storage::Container::nm, and storage::sformat().
| static string storage::DmmultipathCo::undevName | ( | const string & | name | ) | [static, protected] |
Reimplemented from storage::DmPartCo.
| void DmmultipathCo::activate | ( | bool | val = true |
) | [static, protected] |
References storage::Dm::activate(), storage::LvmVg::activate(), active, storage::SystemCmd::execute(), storage::LvmVg::isActive(), MODPROBEBIN, MULTIPATHBIN, MULTIPATHDBIN, and y2mil.
Referenced by storage::Storage::activateMultipath().
| static bool storage::DmmultipathCo::isActive | ( | ) | [inline, static, protected] |
References active.
| static void storage::DmmultipathCo::getMultipaths | ( | std::list< string > & | l | ) | [static, protected] |
Referenced by storage::Storage::detectDmmultipath().
| static bool storage::DmmultipathCo::multipathNotDeleted | ( | const Dmmultipath & | d | ) | [inline, static, protected] |
References storage::Volume::deleted().
| void storage::DmmultipathCo::logData | ( | const string & | Dir | ) | [protected, virtual] |
Reimplemented from storage::DmPartCo.
friend class Storage [friend] |
Reimplemented from storage::DmPartCo.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const DmmultipathCo & | d | |||
| ) | [friend] |
string storage::DmmultipathCo::vendor [protected] |
Referenced by DmmultipathCo(), equalContent(), getDiffString(), getInfo(), and storage::operator<<().
string storage::DmmultipathCo::model [protected] |
Referenced by DmmultipathCo(), equalContent(), getDiffString(), getInfo(), and storage::operator<<().
bool DmmultipathCo::active = false [static, protected] |
1.5.6