aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
commitdd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a (patch)
treeba2da539f103634b8ddb52a477bbace3b4a52c57 /paludis/repositories/fake/fake_package_id.hh
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.hh')
-rw-r--r--paludis/repositories/fake/fake_package_id.hh30
1 files changed, 15 insertions, 15 deletions
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index e4e44946f..a0b17fbf0 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -33,10 +33,10 @@ namespace paludis
template <typename C_>
class PALUDIS_VISIBLE FakeMetadataValueKey :
public MetadataValueKey<C_>,
- private PrivateImplementationPattern<FakeMetadataValueKey<C_> >
+ private Pimp<FakeMetadataValueKey<C_> >
{
protected:
- typename PrivateImplementationPattern<FakeMetadataValueKey<C_> >::ImpPtr & _imp;
+ typename Pimp<FakeMetadataValueKey<C_> >::ImpPtr & _imp;
public:
FakeMetadataValueKey(const std::string &, const std::string &, const MetadataKeyType,
@@ -58,10 +58,10 @@ namespace paludis
template <typename C_>
class PALUDIS_VISIBLE FakeMetadataCollectionKey :
public MetadataCollectionKey<C_>,
- private PrivateImplementationPattern<FakeMetadataCollectionKey<C_> >
+ private Pimp<FakeMetadataCollectionKey<C_> >
{
protected:
- typename PrivateImplementationPattern<FakeMetadataCollectionKey<C_> >::ImpPtr & _imp;
+ typename Pimp<FakeMetadataCollectionKey<C_> >::ImpPtr & _imp;
FakeMetadataCollectionKey(const std::string &, const std::string &, const MetadataKeyType,
const PackageID * const, const Environment * const);
@@ -92,10 +92,10 @@ namespace paludis
template <typename C_>
class PALUDIS_VISIBLE FakeMetadataSpecTreeKey :
public MetadataSpecTreeKey<C_>,
- private PrivateImplementationPattern<FakeMetadataSpecTreeKey<C_> >
+ private Pimp<FakeMetadataSpecTreeKey<C_> >
{
private:
- typename PrivateImplementationPattern<FakeMetadataSpecTreeKey<C_> >::ImpPtr & _imp;
+ typename Pimp<FakeMetadataSpecTreeKey<C_> >::ImpPtr & _imp;
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
@@ -121,10 +121,10 @@ namespace paludis
template <>
class PALUDIS_VISIBLE FakeMetadataSpecTreeKey<FetchableURISpecTree> :
public MetadataSpecTreeKey<FetchableURISpecTree>,
- private PrivateImplementationPattern<FakeMetadataSpecTreeKey<FetchableURISpecTree> >
+ private Pimp<FakeMetadataSpecTreeKey<FetchableURISpecTree> >
{
private:
- PrivateImplementationPattern<FakeMetadataSpecTreeKey<FetchableURISpecTree> >::ImpPtr & _imp;
+ Pimp<FakeMetadataSpecTreeKey<FetchableURISpecTree> >::ImpPtr & _imp;
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
@@ -154,10 +154,10 @@ namespace paludis
template <>
class PALUDIS_VISIBLE FakeMetadataSpecTreeKey<DependencySpecTree> :
public MetadataSpecTreeKey<DependencySpecTree>,
- private PrivateImplementationPattern<FakeMetadataSpecTreeKey<DependencySpecTree> >
+ private Pimp<FakeMetadataSpecTreeKey<DependencySpecTree> >
{
private:
- PrivateImplementationPattern<FakeMetadataSpecTreeKey<DependencySpecTree> >::ImpPtr & _imp;
+ Pimp<FakeMetadataSpecTreeKey<DependencySpecTree> >::ImpPtr & _imp;
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
@@ -187,10 +187,10 @@ namespace paludis
class PALUDIS_VISIBLE FakeMetadataChoicesKey :
public MetadataValueKey<std::shared_ptr<const Choices> >,
- private PrivateImplementationPattern<FakeMetadataChoicesKey>
+ private Pimp<FakeMetadataChoicesKey>
{
private:
- PrivateImplementationPattern<FakeMetadataChoicesKey>::ImpPtr & _imp;
+ Pimp<FakeMetadataChoicesKey>::ImpPtr & _imp;
public:
FakeMetadataChoicesKey(
@@ -208,7 +208,7 @@ namespace paludis
class PALUDIS_VISIBLE FakeUnacceptedMask :
public UnacceptedMask,
- private PrivateImplementationPattern<FakeUnacceptedMask>
+ private Pimp<FakeUnacceptedMask>
{
public:
FakeUnacceptedMask(const char, const std::string &, const std::shared_ptr<const MetadataKey> &);
@@ -241,11 +241,11 @@ namespace paludis
*/
class PALUDIS_VISIBLE FakePackageID :
public PackageID,
- private PrivateImplementationPattern<FakePackageID>,
+ private Pimp<FakePackageID>,
public std::enable_shared_from_this<FakePackageID>
{
private:
- PrivateImplementationPattern<FakePackageID>::ImpPtr & _imp;
+ Pimp<FakePackageID>::ImpPtr & _imp;
protected:
virtual void need_keys_added() const;