yast2-storage
Public Member Functions | Private Attributes | Friends

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::created ( ) const [inline]

References create.

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

References del.

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

References p.

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

References del, and p.

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

References p.

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

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

References create.

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

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

References del.


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

Referenced by created(), and setCreated().

bool storage::Subvolume::del [private]

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

string storage::Subvolume::p [private]

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