aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Paul Mulders <info@mld.demon.nl> 2010-03-11 18:29:40 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-11 17:39:59 +0000
commit9f50693474e974ecdf7fd0f02f358c4e50858d27 (patch)
tree5240ebada8380e0625e8bcc0b3ae28f461895b5f
parentef5d3ecffec6ee97bbd213fbc5569de904191aed (diff)
downloadpaludis-9f50693474e974ecdf7fd0f02f358c4e50858d27.tar.gz
paludis-9f50693474e974ecdf7fd0f02f358c4e50858d27.tar.xz
Add is_unimportant() to Repositories
Only returns true for UnwrittenRepositories and UnavailableRepositories for now, to be used in disambiguation
-rw-r--r--paludis/repositories/accounts/accounts_repository.cc6
-rw-r--r--paludis/repositories/accounts/accounts_repository.hh1
-rw-r--r--paludis/repositories/cran/cran_installed_repository.cc6
-rw-r--r--paludis/repositories/cran/cran_installed_repository.hh2
-rw-r--r--paludis/repositories/cran/cran_repository.cc6
-rw-r--r--paludis/repositories/cran/cran_repository.hh2
-rw-r--r--paludis/repositories/e/e_installed_repository.cc6
-rw-r--r--paludis/repositories/e/e_installed_repository.hh2
-rw-r--r--paludis/repositories/e/e_repository.cc6
-rw-r--r--paludis/repositories/e/e_repository.hh1
-rw-r--r--paludis/repositories/e/exndbam_repository.cc6
-rw-r--r--paludis/repositories/e/exndbam_repository.hh2
-rw-r--r--paludis/repositories/e/vdb_repository.cc6
-rw-r--r--paludis/repositories/e/vdb_repository.hh2
-rw-r--r--paludis/repositories/fake/fake_installed_repository.cc6
-rw-r--r--paludis/repositories/fake/fake_installed_repository.hh2
-rw-r--r--paludis/repositories/fake/fake_repository.cc6
-rw-r--r--paludis/repositories/fake/fake_repository.hh2
-rw-r--r--paludis/repositories/gems/gems_repository.cc6
-rw-r--r--paludis/repositories/gems/gems_repository.hh2
-rw-r--r--paludis/repositories/gems/installed_gems_repository.cc6
-rw-r--r--paludis/repositories/gems/installed_gems_repository.hh2
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.cc6
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.hh2
-rw-r--r--paludis/repositories/unpackaged/installed_repository.cc6
-rw-r--r--paludis/repositories/unpackaged/installed_repository.hh2
-rw-r--r--paludis/repositories/unpackaged/unpackaged_repository.cc6
-rw-r--r--paludis/repositories/unpackaged/unpackaged_repository.hh2
-rw-r--r--paludis/repositories/unwritten/unwritten_repository.cc6
-rw-r--r--paludis/repositories/unwritten/unwritten_repository.hh2
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.hh2
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh2
-rw-r--r--paludis/repository.hh9
35 files changed, 143 insertions, 0 deletions
diff --git a/paludis/repositories/accounts/accounts_repository.cc b/paludis/repositories/accounts/accounts_repository.cc
index af15ca7..a336ad9 100644
--- a/paludis/repositories/accounts/accounts_repository.cc
+++ b/paludis/repositories/accounts/accounts_repository.cc
@@ -291,6 +291,12 @@ AccountsRepository::regenerate_cache() const
{
}
+const bool
+AccountsRepository::is_unimportant() const
+{
+ return false;
+}
+
bool
AccountsRepository::has_category_named(const CategoryNamePart & c) const
{
diff --git a/paludis/repositories/accounts/accounts_repository.hh b/paludis/repositories/accounts/accounts_repository.hh
index c2eb767..7562aec 100644
--- a/paludis/repositories/accounts/accounts_repository.hh
+++ b/paludis/repositories/accounts/accounts_repository.hh
@@ -120,6 +120,7 @@ namespace paludis
///\name Repository content queries
///\{
+ virtual const bool is_unimportant() const;
virtual bool has_category_named(const CategoryNamePart & c) const;
virtual bool has_package_named(const QualifiedPackageName & q) const;
virtual std::tr1::shared_ptr<const CategoryNamePartSet> category_names() const;
diff --git a/paludis/repositories/cran/cran_installed_repository.cc b/paludis/repositories/cran/cran_installed_repository.cc
index 5dc56bf..fc240b4 100644
--- a/paludis/repositories/cran/cran_installed_repository.cc
+++ b/paludis/repositories/cran/cran_installed_repository.cc
@@ -196,6 +196,12 @@ CRANInstalledRepository::has_category_named(const CategoryNamePart & c) const
return (CategoryNamePart("cran") == c);
}
+const bool
+CRANInstalledRepository::is_unimportant() const
+{
+ return false;
+}
+
bool
CRANInstalledRepository::has_package_named(const QualifiedPackageName & q) const
{
diff --git a/paludis/repositories/cran/cran_installed_repository.hh b/paludis/repositories/cran/cran_installed_repository.hh
index 08d42e7..e335c93 100644
--- a/paludis/repositories/cran/cran_installed_repository.hh
+++ b/paludis/repositories/cran/cran_installed_repository.hh
@@ -140,6 +140,8 @@ namespace paludis
virtual bool has_category_named(const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const bool is_unimportant() const;
+
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
diff --git a/paludis/repositories/cran/cran_repository.cc b/paludis/repositories/cran/cran_repository.cc
index f662393..e9507fc 100644
--- a/paludis/repositories/cran/cran_repository.cc
+++ b/paludis/repositories/cran/cran_repository.cc
@@ -510,6 +510,12 @@ namespace
};
}
+const bool
+CRANRepository::is_unimportant() const
+{
+ return false;
+}
+
bool
CRANRepository::some_ids_might_support_action(const SupportsActionTestBase & a) const
{
diff --git a/paludis/repositories/cran/cran_repository.hh b/paludis/repositories/cran/cran_repository.hh
index 158ee10..73d7c06 100644
--- a/paludis/repositories/cran/cran_repository.hh
+++ b/paludis/repositories/cran/cran_repository.hh
@@ -147,6 +147,8 @@ namespace paludis
const QualifiedPackageName &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const bool is_unimportant() const;
+
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
/* Keys */
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index 38af704..e11f9e8 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -162,6 +162,12 @@ EInstalledRepository::perform_hook(const Hook & hook)
return make_named_values<HookResult>(value_for<n::max_exit_status>(0), value_for<n::output>(""));
}
+const bool
+EInstalledRepository::is_unimportant() const
+{
+ return false;
+}
+
std::tr1::shared_ptr<const CategoryNamePartSet>
EInstalledRepository::unimportant_category_names() const
{
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index b9c92ba..9c6d9db 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -77,6 +77,8 @@ namespace paludis
virtual std::tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
+ virtual const bool is_unimportant() const;
+
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
HookResult perform_hook(const Hook & hook)
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 5006510..edfa259 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -981,6 +981,12 @@ ERepository::unimportant_category_names() const
return result;
}
+const bool
+ERepository::is_unimportant() const
+{
+ return false;
+}
+
namespace
{
struct SupportsActionQuery
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index af0fddf..3296477 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -150,6 +150,7 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result));
virtual std::tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
+ virtual const bool is_unimportant() const;
/**
* Update GLEP 42 news files.
diff --git a/paludis/repositories/e/exndbam_repository.cc b/paludis/repositories/e/exndbam_repository.cc
index 0cd9a77..ad4fc4c 100644
--- a/paludis/repositories/e/exndbam_repository.cc
+++ b/paludis/repositories/e/exndbam_repository.cc
@@ -255,6 +255,12 @@ ExndbamRepository::has_category_named(const CategoryNamePart & c) const
return _imp->ndbam.has_category_named(c);
}
+const bool
+ExndbamRepository::is_unimportant() const
+{
+ return false;
+}
+
ExndbamRepositoryConfigurationError::ExndbamRepositoryConfigurationError(
const std::string & msg) throw () :
ConfigurationError("Exndbam repository configuration error: " + msg)
diff --git a/paludis/repositories/e/exndbam_repository.hh b/paludis/repositories/e/exndbam_repository.hh
index aa2f6b7..fea14ee 100644
--- a/paludis/repositories/e/exndbam_repository.hh
+++ b/paludis/repositories/e/exndbam_repository.hh
@@ -108,6 +108,8 @@ namespace paludis
virtual bool has_category_named(const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const bool is_unimportant() const;
+
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index 35c4b45..9509293 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -231,6 +231,12 @@ VDBRepository::has_package_named(const QualifiedPackageName & q) const
return cat_iter->second->end() != cat_iter->second->find(q);
}
+const bool
+VDBRepository::is_unimportant() const
+{
+ return false;
+}
+
std::tr1::shared_ptr<const CategoryNamePartSet>
VDBRepository::category_names() const
{
diff --git a/paludis/repositories/e/vdb_repository.hh b/paludis/repositories/e/vdb_repository.hh
index f1a682a..e72edf6 100644
--- a/paludis/repositories/e/vdb_repository.hh
+++ b/paludis/repositories/e/vdb_repository.hh
@@ -157,6 +157,8 @@ namespace paludis
virtual bool has_category_named(const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const bool is_unimportant() const;
+
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
diff --git a/paludis/repositories/fake/fake_installed_repository.cc b/paludis/repositories/fake/fake_installed_repository.cc
index a4b5ce2..17b496a 100644
--- a/paludis/repositories/fake/fake_installed_repository.cc
+++ b/paludis/repositories/fake/fake_installed_repository.cc
@@ -192,6 +192,12 @@ FakeInstalledRepository::some_ids_might_support_action(const SupportsActionTestB
return a.accept_returning<bool>(q);
}
+const bool
+FakeInstalledRepository::is_unimportant() const
+{
+ return false;
+}
+
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
FakeInstalledRepository::format_key() const
{
diff --git a/paludis/repositories/fake/fake_installed_repository.hh b/paludis/repositories/fake/fake_installed_repository.hh
index adb76ff..db3d8b8 100644
--- a/paludis/repositories/fake/fake_installed_repository.hh
+++ b/paludis/repositories/fake/fake_installed_repository.hh
@@ -88,6 +88,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index 2572237..3708460 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -140,6 +140,12 @@ FakeRepository::some_ids_might_support_action(const SupportsActionTestBase & a)
return a.accept_returning<bool>(q);
}
+const bool
+FakeRepository::is_unimportant() const
+{
+ return false;
+}
+
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
FakeRepository::format_key() const
{
diff --git a/paludis/repositories/fake/fake_repository.hh b/paludis/repositories/fake/fake_repository.hh
index a1fb2f0..a93151e 100644
--- a/paludis/repositories/fake/fake_repository.hh
+++ b/paludis/repositories/fake/fake_repository.hh
@@ -81,6 +81,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
diff --git a/paludis/repositories/gems/gems_repository.cc b/paludis/repositories/gems/gems_repository.cc
index 148acb7..1c25260 100644
--- a/paludis/repositories/gems/gems_repository.cc
+++ b/paludis/repositories/gems/gems_repository.cc
@@ -325,6 +325,12 @@ GemsRepository::some_ids_might_support_action(const SupportsActionTestBase & a)
return a.accept_returning<bool>(q);
}
+const bool
+GemsRepository::is_unimportant() const
+{
+ return false;
+}
+
void
GemsRepository::need_keys_added() const
{
diff --git a/paludis/repositories/gems/gems_repository.hh b/paludis/repositories/gems/gems_repository.hh
index 657a46e..92bf5d5 100644
--- a/paludis/repositories/gems/gems_repository.hh
+++ b/paludis/repositories/gems/gems_repository.hh
@@ -84,6 +84,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
/* Keys */
diff --git a/paludis/repositories/gems/installed_gems_repository.cc b/paludis/repositories/gems/installed_gems_repository.cc
index f65689a..7b86b21 100644
--- a/paludis/repositories/gems/installed_gems_repository.cc
+++ b/paludis/repositories/gems/installed_gems_repository.cc
@@ -348,6 +348,12 @@ InstalledGemsRepository::some_ids_might_support_action(const SupportsActionTestB
return a.accept_returning<bool>(q);
}
+const bool
+InstalledGemsRepository::is_unimportant() const
+{
+ return false;
+}
+
void
InstalledGemsRepository::need_keys_added() const
{
diff --git a/paludis/repositories/gems/installed_gems_repository.hh b/paludis/repositories/gems/installed_gems_repository.hh
index 9c80467..8bc437a 100644
--- a/paludis/repositories/gems/installed_gems_repository.hh
+++ b/paludis/repositories/gems/installed_gems_repository.hh
@@ -99,6 +99,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
/* Keys */
diff --git a/paludis/repositories/unavailable/unavailable_repository.cc b/paludis/repositories/unavailable/unavailable_repository.cc
index a136a71..219d326 100644
--- a/paludis/repositories/unavailable/unavailable_repository.cc
+++ b/paludis/repositories/unavailable/unavailable_repository.cc
@@ -111,6 +111,12 @@ UnavailableRepository::can_be_favourite_repository() const
return false;
}
+const bool
+UnavailableRepository::is_unimportant() const
+{
+ return true;
+}
+
void
UnavailableRepository::_add_metadata_keys()
{
diff --git a/paludis/repositories/unavailable/unavailable_repository.hh b/paludis/repositories/unavailable/unavailable_repository.hh
index 99be86d..1b24e9a 100644
--- a/paludis/repositories/unavailable/unavailable_repository.hh
+++ b/paludis/repositories/unavailable/unavailable_repository.hh
@@ -73,6 +73,8 @@ namespace paludis
virtual bool can_be_favourite_repository() const;
+ virtual const bool is_unimportant() const;
+
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > installed_root_key() const;
diff --git a/paludis/repositories/unpackaged/installed_repository.cc b/paludis/repositories/unpackaged/installed_repository.cc
index 8d53214..359521e 100644
--- a/paludis/repositories/unpackaged/installed_repository.cc
+++ b/paludis/repositories/unpackaged/installed_repository.cc
@@ -215,6 +215,12 @@ InstalledUnpackagedRepository::some_ids_might_support_action(const SupportsActio
return test.accept_returning<bool>(v);
}
+const bool
+InstalledUnpackagedRepository::is_unimportant() const
+{
+ return false;
+}
+
namespace
{
std::pair<uid_t, gid_t>
diff --git a/paludis/repositories/unpackaged/installed_repository.hh b/paludis/repositories/unpackaged/installed_repository.hh
index a2397bd..a5b46cb 100644
--- a/paludis/repositories/unpackaged/installed_repository.hh
+++ b/paludis/repositories/unpackaged/installed_repository.hh
@@ -102,6 +102,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
diff --git a/paludis/repositories/unpackaged/unpackaged_repository.cc b/paludis/repositories/unpackaged/unpackaged_repository.cc
index 1c5e03c..055a37e 100644
--- a/paludis/repositories/unpackaged/unpackaged_repository.cc
+++ b/paludis/repositories/unpackaged/unpackaged_repository.cc
@@ -169,6 +169,12 @@ UnpackagedRepository::some_ids_might_support_action(const SupportsActionTestBase
return _imp->id->supports_action(test);
}
+const bool
+UnpackagedRepository::is_unimportant() const
+{
+ return false;
+}
+
void
UnpackagedRepository::invalidate()
{
diff --git a/paludis/repositories/unpackaged/unpackaged_repository.hh b/paludis/repositories/unpackaged/unpackaged_repository.hh
index 43a0289..1dd96b6 100644
--- a/paludis/repositories/unpackaged/unpackaged_repository.hh
+++ b/paludis/repositories/unpackaged/unpackaged_repository.hh
@@ -101,6 +101,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual const bool is_unimportant() const;
+
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
/* Keys */
diff --git a/paludis/repositories/unwritten/unwritten_repository.cc b/paludis/repositories/unwritten/unwritten_repository.cc
index 0f950af..a4bab6d 100644
--- a/paludis/repositories/unwritten/unwritten_repository.cc
+++ b/paludis/repositories/unwritten/unwritten_repository.cc
@@ -105,6 +105,12 @@ UnwrittenRepository::~UnwrittenRepository()
{
}
+const bool
+UnwrittenRepository::is_unimportant() const
+{
+ return true;
+}
+
bool
UnwrittenRepository::can_be_favourite_repository() const
{
diff --git a/paludis/repositories/unwritten/unwritten_repository.hh b/paludis/repositories/unwritten/unwritten_repository.hh
index 0e7946a..44d1231 100644
--- a/paludis/repositories/unwritten/unwritten_repository.hh
+++ b/paludis/repositories/unwritten/unwritten_repository.hh
@@ -70,6 +70,8 @@ namespace paludis
UnwrittenRepository(const UnwrittenRepositoryParams &);
~UnwrittenRepository();
+ virtual const bool is_unimportant() const;
+
virtual bool can_be_favourite_repository() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 8a2e21a..be83fc9 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -246,6 +246,12 @@ InstalledVirtualsRepository::can_be_favourite_repository() const
return false;
}
+const bool
+InstalledVirtualsRepository::is_unimportant() const
+{
+ return false;
+}
+
namespace
{
struct SupportsActionQuery
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index 3c0ab9d..9177639 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -82,6 +82,8 @@ namespace paludis
virtual bool can_be_favourite_repository() const;
+ virtual const bool is_unimportant() const;
+
HookResult perform_hook(const Hook &)
PALUDIS_ATTRIBUTE((warn_unused_result));
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index 5970e35..fcfb89e 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -346,6 +346,12 @@ VirtualsRepository::can_be_favourite_repository() const
return false;
}
+const bool
+VirtualsRepository::is_unimportant() const
+{
+ return false;
+}
+
namespace
{
struct SupportsActionQuery
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index 640cef9..2071554 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -82,6 +82,8 @@ namespace paludis
virtual bool can_be_favourite_repository() const;
+ virtual const bool is_unimportant() const;
+
/* Repository */
virtual std::tr1::shared_ptr<const PackageIDSequence> package_ids(
diff --git a/paludis/repository.hh b/paludis/repository.hh
index 3c410ff..8663817 100644
--- a/paludis/repository.hh
+++ b/paludis/repository.hh
@@ -350,6 +350,15 @@ namespace paludis
virtual std::tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
/**
+ * Are we unimportant?
+ *
+ * In disambiguation, anything gets preferred over packages from unimportant repositories.
+ *
+ * \since 0.46
+ */
+ virtual const bool is_unimportant() const = 0;
+
+ /**
* Fetch categories that contain a named package.
*/
virtual std::tr1::shared_ptr<const CategoryNamePartSet> category_names_containing_package(