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 CastIterator<CVIter, const Nfs *> storage::NfsCo::NfsCInter [protected]

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


Constructor & Destructor Documentation

NfsCo::NfsCo ( Storage *const   s,
ProcMounts mounts 
)

References getNfsData(), init(), and y2debug.

Referenced by getCopy().

NfsCo::NfsCo ( Storage *const   s  ) 

References init(), and y2debug.

NfsCo::NfsCo ( const NfsCo rhs  ) 

NfsCo::~NfsCo (  )  [virtual]

References y2debug.

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

References init(), and y2debug.


Member Function Documentation

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

Reimplemented from storage::Container.

References storage::NFSC.

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

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

References y2mil.

int NfsCo::removeVolume ( Volume v  )  [virtual]

int NfsCo::doRemove ( Volume v  )  [virtual]

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

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

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

References nfsBegin(), and nfsEnd().

Referenced by equalContent(), findNfs(), logDifference(), and NfsCo().

NfsIter storage::NfsCo::nfsBegin ( bool(*)(const Nfs &)  Check = NULL  )  [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]

References nfsBegin(), and nfsEnd().

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]

References findNfs().

void NfsCo::getNfsData ( ProcMounts mounts  )  [protected]

void NfsCo::init (  )  [protected]

Referenced by NfsCo().

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.

References NfsCo().

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

Reimplemented from storage::Container.


Friends And Related Function Documentation

friend class Storage [friend]

Reimplemented from storage::Container.

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


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

Generated on Sun Jun 8 10:48:04 2008 for yast2-storage by  doxygen 1.5.5