|
Public Types |
typedef DerefIterator< ConstVolPIterator,
const Volume > | ConstVolIterator |
| typedef IterPair< ConstVolIterator > | ConstVolPair |
Public Member Functions |
| bool | operator== (const Container &rhs) const |
| bool | operator!= (const Container &rhs) const |
| bool | operator< (const Container &rhs) const |
| bool | operator<= (const Container &rhs) const |
| bool | operator>= (const Container &rhs) const |
| bool | operator> (const Container &rhs) const |
| virtual bool | equalContent (const Container &rhs) const |
| virtual string | getDiffString (const Container &c) const |
| virtual void | logDifference (const Container &c) const |
| virtual void | getCommitActions (std::list< storage::commitAction * > &l) const |
| virtual int | getToCommit (storage::CommitStage stage, std::list< Container * > &col, std::list< Volume * > &vol) |
| virtual int | commitChanges (storage::CommitStage stage) |
| virtual int | commitChanges (storage::CommitStage stage, Volume *vol) |
| virtual void | changeDeviceName (const string &old, const string &nw) |
| unsigned | numVolumes () const |
| bool | isEmpty () const |
| void | getInfo (storage::ContainerInfo &info) const |
| bool | findVolume (const string &device, Volume *&vol) |
| ConstVolPair | volPair (bool(*CheckFnc)(const Volume &)=NULL) const |
| ConstVolIterator | volBegin (bool(*CheckFnc)(const Volume &)=NULL) const |
| ConstVolIterator | volEnd (bool(*CheckFnc)(const Volume &)=NULL) const |
| template<class Pred> |
| VolCondIPair< Pred >::type | volCondPair (const Pred &p) const |
| template<class Pred> |
| ConstVolumeI< Pred >::type | volCondBegin (const Pred &p) const |
| template<class Pred> |
| ConstVolumeI< Pred >::type | volCondEnd (const Pred &p) const |
| | Container (Storage *const, const string &Name, storage::CType typ) |
| | Container (const Container &) |
| Storage * | getStorage () const |
| virtual | ~Container () |
| const string & | name () const |
| const string & | device () const |
| storage::CType | type () const |
| bool | deleted () const |
| bool | created () const |
| void | setDeleted (bool val=true) |
| void | setCreated (bool val=true) |
| void | setSilent (bool val=true) |
| void | setUsedBy (storage::UsedByType t, const string &name) |
| const storage::usedBy & | getUsedBy () const |
| storage::UsedByType | getUsedByType () const |
| const string & | usedByName () const |
| bool | readonly () const |
| unsigned long long | sizeK () const |
| unsigned long | minorNr () const |
| unsigned long | majorNr () const |
| virtual string | removeText (bool doing=true) const |
| virtual string | createText (bool doing=true) const |
| virtual int | resizeVolume (Volume *v, unsigned long long newSize) |
| virtual int | removeVolume (Volume *v) |
| virtual Container * | getCopy () const |
| bool | compareContainer (const Container *c, bool verbose) const |
| void | setExtError (const string &txt) const |
| void | setExtError (const SystemCmd &cmd, bool serr=true) const |
Static Public Member Functions |
| static storage::CType | staticType () |
Protected Types |
| typedef std::list< Volume * > | VCont |
| typedef VCont::iterator | VIter |
| typedef VCont::const_iterator | CVIter |
| typedef VCont::reverse_iterator | RVIter |
| typedef VCont::const_reverse_iterator | CRVIter |
| typedef CheckFnc< const Volume > | CheckFncVol |
typedef CheckerIterator< CheckFncVol,
ConstVolumePI< CheckFncVol
>::type, CVIter, Volume > | ConstVolPIterator |
typedef CheckerIterator< CheckFncVol,
VolumePI< CheckFncVol
>::type, VIter, Volume > | VolPIterator |
typedef DerefIterator< VolPIterator,
Volume > | VolIterator |
| typedef IterPair< VolIterator > | VolPair |
| typedef CVIter | ConstPlainIterator |
| typedef VIter | PlainIterator |
Protected Member Functions |
| VolPair | volPair (bool(*CheckFnc)(const Volume &)=NULL) |
| VolIterator | vBegin (bool(*CheckFnc)(const Volume &)=NULL) |
| VolIterator | vEnd (bool(*CheckFnc)(const Volume &)=NULL) |
| ConstPlainIterator | begin () const |
| ConstPlainIterator | end () const |
| PlainIterator | begin () |
| PlainIterator | end () |
| virtual void | print (std::ostream &s) const |
| void | addToList (Volume *e) |
| bool | removeFromList (Volume *e) |
| virtual int | doCreate (Volume *v) |
| virtual int | doRemove (Volume *v) |
| virtual int | doResize (Volume *v) |
| virtual void | logData (const string &Dir) |
| Container & | operator= (const Container &) |
Static Protected Member Functions |
| static bool | stageDecrease (const Volume &v) |
| static bool | stageCreate (const Volume &v) |
Protected Attributes |
| Storage *const | sto |
| storage::CType | typ |
| string | nm |
| string | dev |
| bool | del |
| bool | create |
| bool | silent |
| bool | ronly |
| storage::usedBy | uby |
| unsigned long long | size_k |
| unsigned long | mnr |
| unsigned long | mjr |
| VCont | vols |
| storage::ContainerInfo | info |
Static Protected Attributes |
| static string | type_names [COTYPE_LAST_ENTRY] |
| static unsigned | order [COTYPE_LAST_ENTRY] |
Friends |
| class | Storage |
| class | ListListIterator |
| std::ostream & | operator<< (std::ostream &s, const Container &c) |
Classes |
| struct | ConstVolumeI |
| struct | ConstVolumePI |
| struct | VolCondIPair |
| struct | VolumeI |
| struct | VolumePI |