12 #ifndef ZYPP2_REPOSITORYINFO_H
13 #define ZYPP2_REPOSITORYINFO_H
187 Pathname
path()
const;
371 AllowUnsignedPackage,
404 Pathname
provideKey(
const std::string &keyID_r,
const Pathname &targetDirectory_r )
const;
447 void addContent(
const std::string & keyword_r );
449 template <
class TIterator>
453 template <
class TContainer>
462 bool hasContent(
const std::string & keyword_r )
const;
464 template <
class TIterator>
466 {
for_( it, begin_r, end_r )
if ( !
hasContent( *it ) )
return false;
return true; }
468 template <
class TContainer>
470 {
return hasContentAll( container_r.begin(), container_r.end() ); }
472 template <
class TIterator>
474 {
for_( it, begin_r, end_r )
if (
hasContent( *it ) )
return true;
return false; }
476 template <
class TContainer>
478 {
return hasContentAny( container_r.begin(), container_r.end() ); }
496 bool hasLicense(
const std::string & name_r )
const;
526 virtual std::ostream &
dumpOn( std::ostream & str )
const;
532 virtual std::ostream &
dumpAsIniOn( std::ostream & str )
const;
542 virtual std::ostream &
dumpAsXmlOn( std::ostream & str,
const std::string & content =
"" )
const;
571 #endif // ZYPP2_REPOSITORYINFO_H