aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-04 12:56:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-04 12:56:09 +0000
commit53af984ffe39e834325c90c44b341d38698a1c3c (patch)
tree3279417b5cf05a2b1479bdee07b556996b1a4f29 /paludis/repositories/fake/fake_package_id.hh
parent0b7747c4f5df3f1e4968f443fb2044f8f1192498 (diff)
downloadpaludis-53af984ffe39e834325c90c44b341d38698a1c3c.tar.gz
paludis-53af984ffe39e834325c90c44b341d38698a1c3c.tar.xz
Doxygenation
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.hh')
-rw-r--r--paludis/repositories/fake/fake_package_id.hh22
1 files changed, 20 insertions, 2 deletions
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index b6fa457be..880a01d19 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -177,6 +177,14 @@ namespace paludis
const tr1::shared_ptr<const MetadataKey> unaccepted_key() const;
};
+ /**
+ * A PackageID in a FakeRepository or a FakeInstalledRepository.
+ *
+ * Various keys can be modified.
+ *
+ * \ingroup g_fake_repository
+ * \since 0.26
+ */
class PALUDIS_VISIBLE FakePackageID :
public PackageID,
private PrivateImplementationPattern<FakePackageID>,
@@ -190,11 +198,16 @@ namespace paludis
virtual void need_masks_added() const;
public:
+ ///\name Basic operations
+ ///\{
+
FakePackageID(const Environment * const e,
const tr1::shared_ptr<const FakeRepositoryBase> &,
const QualifiedPackageName &, const VersionSpec &, const std::string & eapi);
~FakePackageID();
+ ///\}
+
virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
virtual const QualifiedPackageName name() const;
@@ -229,6 +242,9 @@ namespace paludis
const tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();
const tr1::shared_ptr<FakeMetadataIUseSetKey> iuse_key();
+ ///\name Modifiable keys
+ ///\{
+
const tr1::shared_ptr<FakeMetadataSpecTreeKey<ProvideSpecTree> > provide_key();
const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key();
const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key();
@@ -237,10 +253,12 @@ namespace paludis
const tr1::shared_ptr<FakeMetadataSpecTreeKey<FetchableURISpecTree> > fetches_key();
const tr1::shared_ptr<FakeMetadataSpecTreeKey<SimpleURISpecTree> > homepage_key();
- char use_expand_separator() const;
-
void set_slot(const SlotName &);
+ ///\}
+
+ char use_expand_separator() const;
+
virtual bool arbitrary_less_than_comparison(const PackageID &) const;
virtual std::size_t extra_hash_value() const;