#include <NfsCo.h>

Public Member Functions | |
| NfsCo (Storage *const s, ProcMounts &mounts) | |
| NfsCo (Storage *const s) | |
| NfsCo (const NfsCo &rhs) | |
| virtual | ~NfsCo () |
| int | addNfs (const string &nfsDev, unsigned long long sizeK, const string &mp) |
| int | removeVolume (Volume *v) |
| int | doRemove (Volume *) |
| bool | equalContent (const Container &rhs) const |
| void | logDifference (const Container &d) const |
Static Public Member Functions | |
| static storage::CType const | staticType () |
| static bool | isNfsDev (const string &dev) |
Protected Types | |
| typedef CastIterator < VIter, Nfs * > | NfsInter |
| typedef CastIterator < CVIter, const Nfs * > | NfsCInter |
| typedef CheckFnc < const Nfs > | CheckFncNfs |
| typedef CheckerIterator < CheckFncNfs, NfsPI < CheckFncNfs > ::type, NfsInter, Nfs > | NfsPIterator |
| typedef CheckerIterator < CheckFncNfs, NfsCPI< CheckFncNfs > ::type, NfsCInter, const Nfs > | NfsCPIterator |
| typedef DerefIterator < NfsPIterator, Nfs > | NfsIter |
| typedef DerefIterator < NfsCPIterator, const Nfs > | ConstNfsIter |
| typedef IterPair < NfsIter > | NfsPair |
| typedef IterPair < ConstNfsIter > | ConstNfsPair |
Protected Member Functions | |
| NfsPair | nfsPair (bool(*Check)(const Nfs &)=NULL) |
| NfsIter | nfsBegin (bool(*Check)(const Nfs &)=NULL) |
| NfsIter | nfsEnd (bool(*Check)(const Nfs &)=NULL) |
| ConstNfsPair | nfsPair (bool(*Check)(const Nfs &)=NULL) const |
| ConstNfsIter | nfsBegin (bool(*Check)(const Nfs &)=NULL) const |
| ConstNfsIter | nfsEnd (bool(*Check)(const Nfs &)=NULL) const |
| NfsCo (Storage *const s, const string &File) | |
| bool | findNfs (const string &dev, NfsIter &i) |
| bool | findNfs (const string &dev) |
| void | getNfsData (ProcMounts &mounts) |
| void | init () |
| virtual void | print (std::ostream &s) const |
| virtual Container * | getCopy () const |
| void | logData (const string &Dir) |
Friends | |
| class | Storage |
| std::ostream & | operator<< (std::ostream &, const NfsCo &) |
Classes | |
| struct | NfsCPI |
| struct | NfsPI |
typedef CastIterator<VIter, Nfs *> storage::NfsCo::NfsInter [protected] |
typedef CastIterator<CVIter, const Nfs *> storage::NfsCo::NfsCInter [protected] |
typedef CheckFnc<const Nfs> storage::NfsCo::CheckFncNfs [protected] |
typedef CheckerIterator< CheckFncNfs, NfsPI<CheckFncNfs>::type, NfsInter, Nfs > storage::NfsCo::NfsPIterator [protected] |
typedef CheckerIterator< CheckFncNfs, NfsCPI<CheckFncNfs>::type, NfsCInter, const Nfs > storage::NfsCo::NfsCPIterator [protected] |
typedef DerefIterator<NfsPIterator,Nfs> storage::NfsCo::NfsIter [protected] |
typedef DerefIterator<NfsCPIterator,const Nfs> storage::NfsCo::ConstNfsIter [protected] |
typedef IterPair<NfsIter> storage::NfsCo::NfsPair [protected] |
typedef IterPair<ConstNfsIter> storage::NfsCo::ConstNfsPair [protected] |
| NfsCo::NfsCo | ( | Storage *const | s, | |
| ProcMounts & | mounts | |||
| ) |
| NfsCo::NfsCo | ( | Storage *const | s | ) |
| NfsCo::NfsCo | ( | const NfsCo & | rhs | ) |
| NfsCo::~NfsCo | ( | ) | [virtual] |
| NfsCo::NfsCo | ( | Storage *const | s, | |
| const string & | File | |||
| ) | [protected] |
| static storage::CType const storage::NfsCo::staticType | ( | ) | [inline, static] |
Reimplemented from storage::Container.
| int NfsCo::addNfs | ( | const string & | nfsDev, | |
| unsigned long long | sizeK, | |||
| const string & | mp | |||
| ) |
| bool NfsCo::isNfsDev | ( | const string & | dev | ) | [static] |
| int NfsCo::removeVolume | ( | Volume * | v | ) | [virtual] |
Reimplemented from storage::Container.
| int NfsCo::doRemove | ( | Volume * | v | ) | [virtual] |
Reimplemented from storage::Container.
| bool NfsCo::equalContent | ( | const Container & | rhs | ) | const [virtual] |
Reimplemented from storage::Container.
| void NfsCo::logDifference | ( | const Container & | d | ) | const [virtual] |
Reimplemented from storage::Container.
| ConstNfsPair storage::NfsCo::nfsPair | ( | bool(*)(const Nfs &) | Check = NULL |
) | const [inline, protected] |
| ConstNfsIter storage::NfsCo::nfsBegin | ( | bool(*)(const Nfs &) | Check = NULL |
) | const [inline, protected] |
| ConstNfsIter storage::NfsCo::nfsEnd | ( | bool(*)(const Nfs &) | Check = NULL |
) | const [inline, protected] |
| bool NfsCo::findNfs | ( | const string & | dev, | |
| NfsIter & | i | |||
| ) | [protected] |
| bool NfsCo::findNfs | ( | const string & | dev | ) | [protected] |
| void NfsCo::getNfsData | ( | ProcMounts & | mounts | ) | [protected] |
| void NfsCo::init | ( | ) | [protected] |
| virtual void storage::NfsCo::print | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
Reimplemented from storage::Container.
| virtual Container* storage::NfsCo::getCopy | ( | ) | const [inline, protected, virtual] |
Reimplemented from storage::Container.
| void NfsCo::logData | ( | const string & | Dir | ) | [protected, virtual] |
Reimplemented from storage::Container.
friend class Storage [friend] |
Reimplemented from storage::Container.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const NfsCo & | d | |||
| ) | [friend] |
1.5.3