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

PkgDep_private.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                     (C) 2004 SUSE AG |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       PkgDep_private.h
00014    Purpose:    Private solver classes. Do not use!
00015    Author:     Ludwig Nussel <lnussel@suse.de>
00016    Maintainer: Ludwig Nussel <lnussel@suse.de>
00017 
00018 /-*/
00019 
00020 #ifndef _PkgDep_private_h
00021 #define _PkgDep_private_h
00022 
00023 #include <y2pm/PkgDep.h>
00024 #include <y2pm/IgnoredRelations.h>
00025 
00026 #define Y2PMHIDDEN __attribute__ ((visibility("hidden")))
00027 #define Y2PMINTERNAL __attribute__ ((visibility("internal")))
00028 
00029 class PkgDep::P
00030 {
00031     private:
00032         PkgDep& _dep;
00033 
00034     public:
00035         IgnoredRequirements ignoredRequirements;
00036 
00037         bool pkg_consistent( PMSolvablePtr pkg, PkgDep::ErrorResult *err ) Y2PMHIDDEN;
00038         bool is_obsoleted_by_candidate(PkgSet& candidates, PMSolvablePtr instd, ErrorResult* res = NULL) Y2PMHIDDEN;
00039 
00042         void inconsistent_to_candidates() Y2PMHIDDEN;
00043 
00044         /* alternative handling */
00045         AltInfoList       alts_to_check;
00046         std::set<PkgName> alts_handled;
00047         alternatives_mode alt_mode;
00048 
00049         void handle_alternative( const AltInfo& alt_info ) Y2PMHIDDEN;
00050 
00051         P(PkgDep& dep) : _dep(dep)
00052         {
00053         }
00054 };
00055 
00056 #endif

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