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 VendorAttrinstance ()
 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().

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

Return whether it's a known vendor.

Definition at line 96 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 100 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 Thu Jul 6 00:07:31 2006 for zypp by  doxygen 1.4.6