Author: mlandres Date: Thu Jul 5 16:55:33 2007 New Revision: 5891 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5891&view=rev Log: dont generate include hierarchy in doxygen Modified: branches/REFACTORING-10_3/libzypp/devel/devel.ma/Parse.cc branches/REFACTORING-10_3/libzypp/doc/autodoc/Doxyfile.cmake Modified: branches/REFACTORING-10_3/libzypp/devel/devel.ma/Parse.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/REFACTORING-10_3/libzypp/devel... ============================================================================== --- branches/REFACTORING-10_3/libzypp/devel/devel.ma/Parse.cc (original) +++ branches/REFACTORING-10_3/libzypp/devel/devel.ma/Parse.cc Thu Jul 5 16:55:33 2007 @@ -2,11 +2,12 @@ #include <zypp/base/PtrTypes.h> #include <zypp/base/Exception.h> +#include <zypp/base/LogTools.h> #include <zypp/base/ProvideNumericId.h> #include "zypp/ZYppFactory.h" #include "zypp/ResPoolProxy.h" -//#include <zypp/SourceManager.h> +#include <zypp/CapMatchHelper.h> //#include <zypp/SourceFactory.h> #include "zypp/ZYppCallbacks.h" @@ -78,7 +79,7 @@ {} }; -inline bool selectForTransact( const NameKindProxy & nkp, Arch arch = Arch() ) +inline bool g( const NameKindProxy & nkp, Arch arch = Arch() ) { if ( nkp.availableEmpty() ) { @@ -217,68 +218,22 @@ } /////////////////////////////////////////////////////////////////// -namespace zypp -{ ///////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////////////////// -} // namespace zypp -/////////////////////////////////////////////////////////////////// -using namespace zypp::parser::susetags; -#include "zypp/cache/CacheStore.h" +#define for_(IT,BEG,END) for ( typeof(BEG) IT = BEG; IT != END; ++IT ) -void consumeIndex( const parser::susetags::RepoIndex_Ptr & index_r ) -{ - SEC << "[Index]" << index_r << endl; -} - -void consumeProd( const data::Product_Ptr & prod_r ) -{ - SEC << "[Prod]" << prod_r << endl; -} - -void consumePkg( const data::Package_Ptr & pkg_r ) -{ - //MIL << "[Pkg]" << pkg_r << endl; -} +/////////////////////////////////////////////////////////////////// +namespace zypp +{ ///////////////////////////////////////////////////////////////// -void consumeSrcPkg( const data::SrcPackage_Ptr & pkg_r ) -{ - //DBG << "[Src]" << pkg_r << endl; -} -void consumePat( const data::Pattern_Ptr & pat_r ) -{ - MIL << "[Pat]" << pat_r << endl; -} -void pPackages( const Pathname & p ) -{ - Measure x( p.basename() ); - PackagesFileReader tp; - tp.setPkgConsumer( consumePkg ); - tp.setSrcPkgConsumer( consumeSrcPkg ); - tp.parse( p ); -} - -void pPackagesLang( const Pathname & p, const Locale & locale_r ) -{ - Measure x( p.basename() ); - PackagesLangFileReader tp; - tp.setLocale( locale_r ); - tp.setPkgConsumer( consumePkg ); - tp.setSrcPkgConsumer( consumeSrcPkg ); - tp.parse( p ); -} + ///////////////////////////////////////////////////////////////// +} // namespace zypp +/////////////////////////////////////////////////////////////////// -void pPattern( const Pathname & p ) -{ - Measure x( p.basename() ); - PatternFileReader tp; - tp.setConsumer( consumePat ); - tp.parse( p ); -} +using namespace zypp; - /****************************************************************** +/****************************************************************** ** ** FUNCTION NAME : main ** FUNCTION TYPE : int @@ -335,27 +290,11 @@ } USR << "pool: " << pool << endl; + SEC << pool.knownRepositoriesSize() << endl; + std::for_each( pool.knownRepositoriesBegin(), pool.knownRepositoriesEnd(), Print() ); - /////////////////////////////////////////////////////////////////// - // define transaction - /////////////////////////////////////////////////////////////////// - if ( 1 ) - { - for_each( pool.byKindBegin<Product>(), pool.byKindEnd<Product>(), StatusInstall() ); - } /////////////////////////////////////////////////////////////////// - // solve - /////////////////////////////////////////////////////////////////// - if ( 1 ) - { - solve(); - } - - vdumpPoolStats( USR << "Transacting:"<< endl, - make_filter_beginresfilter::ByTransact(pool), - make_filter_endresfilter::ByTransact(pool) ) << endl; - INT << "===[END]============================================" << endl << endl; zypp::base::LogControl::instance().logNothing(); return 0; Modified: branches/REFACTORING-10_3/libzypp/doc/autodoc/Doxyfile.cmake URL: http://svn.opensuse.org/viewcvs/zypp/branches/REFACTORING-10_3/libzypp/doc/a... ============================================================================== --- branches/REFACTORING-10_3/libzypp/doc/autodoc/Doxyfile.cmake (original) +++ branches/REFACTORING-10_3/libzypp/doc/autodoc/Doxyfile.cmake Thu Jul 5 16:55:33 2007 @@ -196,15 +196,15 @@ CLASS_DIAGRAMS = YES HIDE_UNDOC_RELATIONS = NO HAVE_DOT = @HAVE_DOT@ -CLASS_GRAPH = NO +CLASS_GRAPH = YES COLLABORATION_GRAPH = NO GROUP_GRAPHS = NO -UML_LOOK = NO +UML_LOOK = YES TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES +INCLUDE_GRAPH = NO +INCLUDED_BY_GRAPH = NO CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = NO +GRAPHICAL_HIERARCHY = YES DIRECTORY_GRAPH = NO DOT_IMAGE_FORMAT = png DOT_PATH = -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org