yast2-storage
Public Member Functions | Private Attributes | Friends

storage::UsedBy Class Reference

#include <StorageTypes.h>

List of all members.

Public Member Functions

 UsedBy (UsedByType type, const string &device)
bool operator== (const UsedBy &rhs) const
bool operator!= (const UsedBy &rhs) const
UsedByType type () const
string device () const
 operator UsedByInfo () const

Private Attributes

UsedByType ub_type
string ub_device

Friends

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

Constructor & Destructor Documentation

storage::UsedBy::UsedBy ( UsedByType  type,
const string &  device 
) [inline]

Member Function Documentation

string storage::UsedBy::device ( ) const [inline]

References ub_device.

Referenced by storage::operator<<().

storage::UsedBy::operator UsedByInfo ( ) const [inline]

References ub_device, and ub_type.

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

References ub_device, and ub_type.

UsedByType storage::UsedBy::type ( ) const [inline]

References ub_type.

Referenced by storage::operator<<().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const UsedBy usedby 
) [friend]
void setChildValue ( xmlNode *  node,
const char *  name,
const UsedBy value 
) [friend]

Member Data Documentation

string storage::UsedBy::ub_device [private]

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