zypp::solver::detail::Importance Class Reference

#include <Importance.h>

List of all members.

Public Member Functions

virtual ~Importance ()
virtual std::ostream & dumpOn (std::ostream &str) const
std::string asString (void) const
bool operator== (const Importance &importance) const
bool operator!= (const Importance &importance) const

Static Public Member Functions

static const Importance parse (const std::string &str)
static std::string toString (const Importance &importance)

Static Public Attributes

static const Importance Undefined
static const Importance Invalid
static const Importance Necessary
static const Importance Urgent
static const Importance Suggested
static const Importance Feature
static const Importance Minor

Private Types

enum  importance_t {
  IMPORTANCE_INVALID = -1, IMPORTANCE_NECESSARY, IMPORTANCE_URGENT, IMPORTANCE_SUGGESTED,
  IMPORTANCE_FEATURE, IMPORTANCE_MINOR, IMPORTANCE_UNDEFINED, IMPORTANCE_LAST
}

Private Member Functions

importance_t importance () const
 Importance (importance_t importance)

Private Attributes

importance_t _importance

Friends

std::ostream & operator<< (std::ostream &, const Importance &importance)


Detailed Description

Definition at line 44 of file Importance.h.


Member Enumeration Documentation

enum zypp::solver::detail::Importance::importance_t [private]
 

Enumerator:
IMPORTANCE_INVALID 
IMPORTANCE_NECESSARY 
IMPORTANCE_URGENT 
IMPORTANCE_SUGGESTED 
IMPORTANCE_FEATURE 
IMPORTANCE_MINOR 
IMPORTANCE_UNDEFINED 
IMPORTANCE_LAST 

Definition at line 48 of file Importance.h.


Constructor & Destructor Documentation

zypp::solver::detail::Importance::Importance importance_t  importance  )  [private]
 

Definition at line 120 of file Importance.cc.

zypp::solver::detail::Importance::~Importance  )  [virtual]
 

Definition at line 125 of file Importance.cc.


Member Function Documentation

importance_t zypp::solver::detail::Importance::importance  )  const [inline, private]
 

Definition at line 65 of file Importance.h.

References _importance.

Referenced by operator!=(), operator==(), and toString().

static const Importance zypp::solver::detail::Importance::parse const std::string &  str  )  [static]
 

string zypp::solver::detail::Importance::toString const Importance importance  )  [static]
 

Definition at line 54 of file Importance.cc.

References importance(), IMPORTANCE_FEATURE, IMPORTANCE_INVALID, IMPORTANCE_MINOR, IMPORTANCE_NECESSARY, IMPORTANCE_SUGGESTED, IMPORTANCE_UNDEFINED, IMPORTANCE_URGENT, and WAR.

Referenced by asString().

virtual std::ostream& zypp::solver::detail::Importance::dumpOn std::ostream &  str  )  const [virtual]
 

string zypp::solver::detail::Importance::asString void   )  const
 

Definition at line 47 of file Importance.cc.

References toString().

Referenced by zypp::solver::detail::operator<<().

bool zypp::solver::detail::Importance::operator== const Importance importance  )  const [inline]
 

Definition at line 93 of file Importance.h.

References _importance, and importance().

bool zypp::solver::detail::Importance::operator!= const Importance importance  )  const [inline]
 

Definition at line 98 of file Importance.h.

References importance().


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  ,
const Importance importance
[friend]
 


Member Data Documentation

importance_t zypp::solver::detail::Importance::_importance [private]
 

Definition at line 62 of file Importance.h.

Referenced by importance(), and operator==().

const Importance zypp::solver::detail::Importance::Undefined [static]
 

Definition at line 72 of file Importance.h.

const Importance zypp::solver::detail::Importance::Invalid [static]
 

Definition at line 73 of file Importance.h.

const Importance zypp::solver::detail::Importance::Necessary [static]
 

Definition at line 74 of file Importance.h.

const Importance zypp::solver::detail::Importance::Urgent [static]
 

Definition at line 75 of file Importance.h.

const Importance zypp::solver::detail::Importance::Suggested [static]
 

Definition at line 76 of file Importance.h.

const Importance zypp::solver::detail::Importance::Feature [static]
 

Definition at line 77 of file Importance.h.

const Importance zypp::solver::detail::Importance::Minor [static]
 

Definition at line 78 of file Importance.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:33 2006 for zypp by  doxygen 1.4.6