storage::NfsCo Class Reference

#include <NfsCo.h>

Inheritance diagram for storage::NfsCo:

storage::Container storage::Device

List of all members.

Public Member Functions

 NfsCo (Storage *const s)
 NfsCo (Storage *const s, const EtcFstab &fstab, SystemInfo &systeminfo)
 NfsCo (const NfsCo &c)
virtual ~NfsCo ()
int addNfs (const string &nfsDev, unsigned long long sizeK, const string &opts, const string &mp, bool nfs4)
int removeVolume (Volume *v)
int doRemove (Volume *)
bool equalContent (const Container &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,
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
bool findNfs (const string &dev, NfsIter &i)
bool findNfs (const string &dev)
void getNfsData (const EtcFstab &fstab, SystemInfo &systeminfo)
virtual void print (std::ostream &s) const
virtual ContainergetCopy () const

Static Protected Member Functions

static list< string > filterOpts (const list< string > &opts)

Private Member Functions

NfsCooperator= (const NfsCo &)

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

storage::NfsCo::NfsCo ( Storage *const  s  ) 

References y2deb.

Referenced by getCopy().

storage::NfsCo::NfsCo ( Storage *const  s,
const EtcFstab fstab,
SystemInfo systeminfo 
)

References getNfsData(), and y2deb.

storage::NfsCo::NfsCo ( const NfsCo c  ) 

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

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


Member Function Documentation

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

Reimplemented from storage::Container.

References storage::NFSC.

int storage::NfsCo::addNfs ( const string &  nfsDev,
unsigned long long  sizeK,
const string &  opts,
const string &  mp,
bool  nfs4 
)

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

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

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

void storage::NfsCo::logDifferenceWithVolumes ( std::ostream &  log,
const Container rhs 
) const [virtual]

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

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 storage::NfsCo::findNfs ( const string &  dev,
NfsIter i 
) [protected]

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

References findNfs().

list< string > storage::NfsCo::filterOpts ( const list< string > &  opts  )  [static, protected]

References storage::lengthof().

Referenced by getNfsData().

void storage::NfsCo::getNfsData ( const EtcFstab fstab,
SystemInfo systeminfo 
) [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]

Implements storage::Container.

References NfsCo().

NfsCo& storage::NfsCo::operator= ( const NfsCo  )  [private]


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 Mon Feb 6 10:42:58 2012 for yast2-storage by  doxygen 1.5.6