zypp::VendorAttr Class Reference

#include <VendorAttr.h>

Inheritance diagram for zypp::VendorAttr:

NonCopyable List of all members.

Public Member Functions

bool isKnown (const Vendor &vendor_r) const
 Return whether it's a known vendor.
bool autoProtect (const Vendor &vendor_r) const
 Return whether this vendors packages should be protected by default.

Static Public Member Functions

static const VendorAttr & instance ()
 Singleton.

Private Member Functions

 VendorAttr ()

Detailed Description

Definition at line 25 of file VendorAttr.h.


Constructor & Destructor Documentation

zypp::VendorAttr::VendorAttr (  )  [private]

Definition at line 81 of file VendorAttr.cc.

References zypp::_trustedVendors, and MIL.


Member Function Documentation

const VendorAttr & zypp::VendorAttr::instance (  )  [static]

Singleton.

Definition at line 75 of file VendorAttr.cc.

Referenced by zypp::PoolItem_Ref::Impl::autoprotect(), and zypp::solver::detail::downgrade_allowed().

bool zypp::VendorAttr::isKnown ( const Vendor &  vendor_r  )  const

Return whether it's a known vendor.

Definition at line 97 of file VendorAttr.cc.

References zypp::trusted().

bool zypp::VendorAttr::autoProtect ( const Vendor &  vendor_r  )  const

Return whether this vendors packages should be protected by default.

Definition at line 101 of file VendorAttr.cc.

References zypp::trusted().

Referenced by zypp::PoolItem_Ref::Impl::autoprotect().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 17:20:37 2006 for zypp by  doxygen 1.5.0