Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CheckSetDeps.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       CheckSetDeps.h
00014 
00015    Author:     Ludwig Nussel <lnussel@suse.de
00016    Maintainer: Ludwig Nussel <lnussel@suse.de
00017 
00018 /-*/
00019 
00020 #ifndef PMCheckSetDeps_h
00021 #define PMCheckSetDeps_h
00022 
00023 #include <y2pm/PkgSet.h>
00024 
00029 class CheckSetDeps
00030 {
00031     public:
00033         typedef std::map<PMSolvablePtr, PMSolvable::PkgRelList_type> BrokenMap;
00034 
00035     private:
00036         PkgSet& _c;
00037         BrokenMap& _b;
00038 
00039         bool _track_packages;
00040         bool _track_relations;
00041 
00042         void* dummy1;
00043         void* dummy2;
00044 
00045     public:
00050         CheckSetDeps(PkgSet& c, BrokenMap& b);
00051 
00053         void setTrackPackages(bool y);
00054 
00056         void setTrackRelations(bool y);
00057 
00066         bool operator()(PMSolvablePtr p);
00067 
00071         bool checkAll();
00072 };
00073 
00074 #endif

Generated on Mon Sep 12 21:52:12 2005 for yast2-packagemanager by  doxygen 1.4.4