storage::Subvolume Class Reference

#include <StorageTypes.h>

List of all members.

Public Member Functions

 Subvolume (const string &path)
 Subvolume (const xmlNode *node)
bool operator== (const Subvolume &rhs) const
bool operator!= (const Subvolume &rhs) const
string path () const
bool deleted () const
void setDeleted (bool val=true)
bool created () const
void setCreated (bool val=true)
 operator SubvolInfo () const

Private Attributes

string p
bool del
bool create

Friends

std::ostream & operator<< (std::ostream &, const Subvolume &)
void setChildValue (xmlNode *node, const char *name, const Subvolume &value)


Constructor & Destructor Documentation

storage::Subvolume::Subvolume ( const string &  path  )  [inline]

storage::Subvolume::Subvolume ( const xmlNode *  node  )  [inline]

References storage::getChildValue(), and p.


Member Function Documentation

bool storage::Subvolume::operator== ( const Subvolume rhs  )  const [inline]

References del, and p.

bool storage::Subvolume::operator!= ( const Subvolume rhs  )  const [inline]

string storage::Subvolume::path (  )  const [inline]

References p.

Referenced by storage::operator<<(), and storage::setChildValue().

bool storage::Subvolume::deleted (  )  const [inline]

References del.

void storage::Subvolume::setDeleted ( bool  val = true  )  [inline]

References del.

bool storage::Subvolume::created (  )  const [inline]

References create.

void storage::Subvolume::setCreated ( bool  val = true  )  [inline]

References create.

Referenced by storage::Btrfs::createSubvolume().

storage::Subvolume::operator SubvolInfo (  )  const [inline]

References p.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const Subvolume sv 
) [friend]

void setChildValue ( xmlNode *  node,
const char *  name,
const Subvolume value 
) [friend]


Member Data Documentation

string storage::Subvolume::p [private]

bool storage::Subvolume::del [private]

Referenced by deleted(), operator==(), and setDeleted().

Referenced by created(), and setCreated().


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

Generated on Mon Feb 6 10:42:58 2012 for yast2-storage by  doxygen 1.5.6