aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exndbam_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-16 09:17:23 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-16 09:17:23 +0000
commit830cd0e27f1acdbfdf66e6dd7a8630a35a6869b5 (patch)
tree1b486967b2b840ea87a8fbf311c13a823540116e /paludis/repositories/e/exndbam_repository.cc
parent169e91b611f2a12b89467e03abb4c76ddbe3fe7e (diff)
downloadpaludis-830cd0e27f1acdbfdf66e6dd7a8630a35a6869b5.tar.gz
paludis-830cd0e27f1acdbfdf66e6dd7a8630a35a6869b5.tar.xz
Merge various metadata key things.
Diffstat (limited to 'paludis/repositories/e/exndbam_repository.cc')
-rw-r--r--paludis/repositories/e/exndbam_repository.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/paludis/repositories/e/exndbam_repository.cc b/paludis/repositories/e/exndbam_repository.cc
index 075a118b6..f62eb5295 100644
--- a/paludis/repositories/e/exndbam_repository.cc
+++ b/paludis/repositories/e/exndbam_repository.cc
@@ -66,24 +66,24 @@ namespace paludis
ExndbamRepositoryParams params;
mutable NDBAM ndbam;
- tr1::shared_ptr<const MetadataFSEntryKey> location_key;
- tr1::shared_ptr<const MetadataFSEntryKey> root_key;
- tr1::shared_ptr<const MetadataStringKey> format_key;
- tr1::shared_ptr<const MetadataFSEntryKey> world_key;
- tr1::shared_ptr<const MetadataFSEntryKey> builddir_key;
+ tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key;
+ tr1::shared_ptr<const MetadataValueKey<FSEntry> > root_key;
+ tr1::shared_ptr<const MetadataValueKey<std::string> > format_key;
+ tr1::shared_ptr<const MetadataValueKey<FSEntry> > world_key;
+ tr1::shared_ptr<const MetadataValueKey<FSEntry> > builddir_key;
Implementation(const ExndbamRepositoryParams & p) :
params(p),
ndbam(params.location, &supported_exndbam, "exndbam-1"),
- location_key(new LiteralMetadataFSEntryKey("location", "location",
+ location_key(new LiteralMetadataValueKey<FSEntry> ("location", "location",
mkt_significant, params.location)),
- root_key(new LiteralMetadataFSEntryKey("root", "root",
+ root_key(new LiteralMetadataValueKey<FSEntry> ("root", "root",
mkt_normal, params.root)),
- format_key(new LiteralMetadataStringKey("format", "format",
+ format_key(new LiteralMetadataValueKey<std::string> ("format", "format",
mkt_significant, "vdb")),
- world_key(new LiteralMetadataFSEntryKey("world", "world",
+ world_key(new LiteralMetadataValueKey<FSEntry> ("world", "world",
mkt_normal, params.world)),
- builddir_key(new LiteralMetadataFSEntryKey("builddir", "builddir",
+ builddir_key(new LiteralMetadataValueKey<FSEntry> ("builddir", "builddir",
mkt_normal, params.builddir))
{
}
@@ -246,13 +246,13 @@ ExndbamRepositoryConfigurationError::ExndbamRepositoryConfigurationError(
{
}
-const tr1::shared_ptr<const MetadataStringKey>
+const tr1::shared_ptr<const MetadataValueKey<std::string> >
ExndbamRepository::format_key() const
{
return _imp->format_key;
}
-const tr1::shared_ptr<const MetadataFSEntryKey>
+const tr1::shared_ptr<const MetadataValueKey<FSEntry> >
ExndbamRepository::installed_root_key() const
{
return _imp->root_key;