storage::NfsCo Class Reference

#include <NfsCo.h>

Inheritance diagram for storage::NfsCo:

storage::Container List of all members.

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 staticType ()
static bool isNfsDev (const string &dev)

Protected Types

typedef CastIterator< VIter,
Nfs * > 
NfsInter
typedef CastIterator< CVIter,
const Nfs * > 
NfsCInter
typedef CheckFnc< const NfsCheckFncNfs
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< NfsIterNfsPair
typedef IterPair< ConstNfsIterConstNfsPair

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 ContainergetCopy () const
void logData (const string &Dir)

Friends

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

Classes

struct  NfsCPI
struct  NfsPI

Member Typedef Documentation

typedef CheckFnc<const Nfs> storage::NfsCo::CheckFncNfs [protected]
 

typedef DerefIterator<NfsCPIterator,const Nfs> storage::NfsCo::ConstNfsIter [protected]
 

typedef IterPair<ConstNfsIter> storage::NfsCo::ConstNfsPair [protected]
 

typedef CastIterator<CVIter, const Nfs *> storage::NfsCo::NfsCInter [protected]
 

typedef CheckerIterator< CheckFncNfs, NfsCPI<CheckFncNfs>::type, NfsCInter, const Nfs > storage::NfsCo::NfsCPIterator [protected]
 

typedef CastIterator<VIter, Nfs *> storage::NfsCo::NfsInter [protected]
 

typedef DerefIterator<NfsPIterator,Nfs> storage::NfsCo::NfsIter [protected]
 

typedef IterPair<NfsIter> storage::NfsCo::NfsPair [protected]
 

typedef CheckerIterator< CheckFncNfs, NfsPI<CheckFncNfs>::type, NfsInter, Nfs > storage::NfsCo::NfsPIterator [protected]
 


Constructor & Destructor Documentation

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]
 


Member Function Documentation

int NfsCo::addNfs const string &  nfsDev,
unsigned long long  sizeK,
const string &  mp
 

int NfsCo::doRemove Volume  )  [virtual]
 

Reimplemented from storage::Container.

bool NfsCo::equalContent const Container rhs  )  const [virtual]
 

Reimplemented from storage::Container.

bool NfsCo::findNfs const string &  dev  )  [protected]
 

bool NfsCo::findNfs const string &  dev,
NfsIter i
[protected]
 

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

Reimplemented from storage::Container.

void NfsCo::getNfsData ProcMounts mounts  )  [protected]
 

void NfsCo::init  )  [protected]
 

bool NfsCo::isNfsDev const string &  dev  )  [static]
 

void NfsCo::logData const string &  Dir  )  [protected, virtual]
 

Reimplemented from storage::Container.

void NfsCo::logDifference const Container d  )  const [virtual]
 

Reimplemented from storage::Container.

ConstNfsIter storage::NfsCo::nfsBegin bool(*)(const Nfs &)  Check = NULL  )  const [inline, protected]
 

NfsIter storage::NfsCo::nfsBegin bool(*)(const Nfs &)  Check = NULL  )  [inline, protected]
 

ConstNfsIter storage::NfsCo::nfsEnd bool(*)(const Nfs &)  Check = NULL  )  const [inline, protected]
 

NfsIter storage::NfsCo::nfsEnd bool(*)(const Nfs &)  Check = NULL  )  [inline, protected]
 

ConstNfsPair storage::NfsCo::nfsPair bool(*)(const Nfs &)  Check = NULL  )  const [inline, protected]
 

NfsPair storage::NfsCo::nfsPair bool(*)(const Nfs &)  Check = NULL  )  [inline, protected]
 

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

Reimplemented from storage::Container.

int NfsCo::removeVolume Volume v  )  [virtual]
 

Reimplemented from storage::Container.

static storage::CType storage::NfsCo::staticType  )  [inline, static]
 

Reimplemented from storage::Container.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  s,
const NfsCo d
[friend]
 

friend class Storage [friend]
 

Reimplemented from storage::Container.


The documentation for this class was generated from the following files:
Generated on Wed Apr 30 14:58:41 2008 for yast2-storage by  doxygen 1.4.6