aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
commit118de550d2dc5508ff4446bdf7f2ddf7b497b9ba (patch)
tree5ced2de062474cb8e6537e68d71cbc7c5a80e802 /paludis/repositories/fake/fake_package_id.hh
parentf76a3a0a7b38b5a3652a9e9bcb13942483f7c53a (diff)
downloadpaludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.gz
paludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.xz
paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3).
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.hh')
-rw-r--r--paludis/repositories/fake/fake_package_id.hh104
1 files changed, 52 insertions, 52 deletions
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 4933821c2..2d68504da 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -23,8 +23,8 @@
#include <paludis/package_id.hh>
#include <paludis/metadata_key.hh>
#include <paludis/mask.hh>
-#include <paludis/util/tr1_functional.hh>
#include <paludis/util/set.hh>
+#include <tr1/functional>
namespace paludis
{
@@ -44,7 +44,7 @@ namespace paludis
public:
~FakeMetadataCollectionKey();
- virtual const tr1::shared_ptr<const C_> value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::tr1::shared_ptr<const C_> value() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
class PALUDIS_VISIBLE FakeMetadataKeywordSetKey :
@@ -74,7 +74,7 @@ namespace paludis
virtual std::string pretty_print_flat_with_comparison(
const Environment * const,
- const tr1::shared_ptr<const PackageID> &,
+ const std::tr1::shared_ptr<const PackageID> &,
const Formatter<IUseFlag> &
) const
PALUDIS_ATTRIBUTE((warn_unused_result));
@@ -90,10 +90,10 @@ namespace paludis
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
- const tr1::function<const tr1::shared_ptr<const typename C_::ConstItem> (const std::string &)> &, const MetadataKeyType);
+ const std::tr1::function<const std::tr1::shared_ptr<const typename C_::ConstItem> (const std::string &)> &, const MetadataKeyType);
~FakeMetadataSpecTreeKey();
- virtual const tr1::shared_ptr<const typename C_::ConstItem> value() const
+ virtual const std::tr1::shared_ptr<const typename C_::ConstItem> value() const
PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
@@ -115,11 +115,11 @@ namespace paludis
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
- const tr1::function<const tr1::shared_ptr<const FetchableURISpecTree::ConstItem> (const std::string &)> &,
+ const std::tr1::function<const std::tr1::shared_ptr<const FetchableURISpecTree::ConstItem> (const std::string &)> &,
const MetadataKeyType);
~FakeMetadataSpecTreeKey();
- virtual const tr1::shared_ptr<const FetchableURISpecTree::ConstItem> value() const
+ virtual const std::tr1::shared_ptr<const FetchableURISpecTree::ConstItem> value() const
PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
@@ -130,7 +130,7 @@ namespace paludis
virtual std::string pretty_print_flat(const FetchableURISpecTree::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const tr1::shared_ptr<const URILabel> initial_label() const
+ virtual const std::tr1::shared_ptr<const URILabel> initial_label() const
PALUDIS_ATTRIBUTE((warn_unused_result));
};
@@ -144,12 +144,12 @@ namespace paludis
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
- const tr1::function<const tr1::shared_ptr<const DependencySpecTree::ConstItem> (const std::string &)> &,
- const tr1::shared_ptr<const DependencyLabelSequence> &,
+ const std::tr1::function<const std::tr1::shared_ptr<const DependencySpecTree::ConstItem> (const std::string &)> &,
+ const std::tr1::shared_ptr<const DependencyLabelSequence> &,
const MetadataKeyType);
~FakeMetadataSpecTreeKey();
- virtual const tr1::shared_ptr<const DependencySpecTree::ConstItem> value() const
+ virtual const std::tr1::shared_ptr<const DependencySpecTree::ConstItem> value() const
PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
@@ -160,7 +160,7 @@ namespace paludis
virtual std::string pretty_print_flat(const DependencySpecTree::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const tr1::shared_ptr<const DependencyLabelSequence> initial_labels() const
+ virtual const std::tr1::shared_ptr<const DependencyLabelSequence> initial_labels() const
PALUDIS_ATTRIBUTE((warn_unused_result));
};
@@ -169,12 +169,12 @@ namespace paludis
private PrivateImplementationPattern<FakeUnacceptedMask>
{
public:
- FakeUnacceptedMask(const char, const std::string &, const tr1::shared_ptr<const MetadataKey> &);
+ FakeUnacceptedMask(const char, const std::string &, const std::tr1::shared_ptr<const MetadataKey> &);
~FakeUnacceptedMask();
char key() const;
const std::string description() const;
- const tr1::shared_ptr<const MetadataKey> unaccepted_key() const;
+ const std::tr1::shared_ptr<const MetadataKey> unaccepted_key() const;
};
/**
@@ -188,7 +188,7 @@ namespace paludis
class PALUDIS_VISIBLE FakePackageID :
public PackageID,
private PrivateImplementationPattern<FakePackageID>,
- public tr1::enable_shared_from_this<FakePackageID>
+ public std::tr1::enable_shared_from_this<FakePackageID>
{
private:
PrivateImplementationPattern<FakePackageID>::ImpPtr & _imp;
@@ -202,7 +202,7 @@ namespace paludis
///\{
FakePackageID(const Environment * const e,
- const tr1::shared_ptr<const FakeRepositoryBase> &,
+ const std::tr1::shared_ptr<const FakeRepositoryBase> &,
const QualifiedPackageName &, const VersionSpec &, const std::string & eapi);
~FakePackageID();
@@ -213,45 +213,45 @@ namespace paludis
virtual const QualifiedPackageName name() const;
virtual const VersionSpec version() const;
virtual const SlotName slot() const;
- virtual const tr1::shared_ptr<const Repository> repository() const;
-
- virtual const tr1::shared_ptr<const MetadataValueKey<tr1::shared_ptr<const PackageID> > > virtual_for_key() const;
- virtual const tr1::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const tr1::shared_ptr<const MetadataCollectionKey<IUseFlagSet> > iuse_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<ProvideSpecTree> > provide_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<tr1::shared_ptr<const Contents> > > contents_key() const;
- virtual const tr1::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<std::string> > source_origin_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<std::string> > binary_origin_key() const;
- virtual const tr1::shared_ptr<const MetadataCollectionKey<PackageIDSequence> > contains_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<tr1::shared_ptr<const PackageID> > > contained_in_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<FSEntry> > fs_location_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<long> > size_of_download_required_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<long> > size_of_all_distfiles_key() const;
- virtual const tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
-
- const tr1::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
- const tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();
- const tr1::shared_ptr<FakeMetadataIUseSetKey> iuse_key();
+ virtual const std::tr1::shared_ptr<const Repository> repository() const;
+
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const PackageID> > > virtual_for_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataCollectionKey<IUseFlagSet> > iuse_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<ProvideSpecTree> > provide_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const Contents> > > contents_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataTimeKey> installed_time_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > source_origin_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > binary_origin_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataCollectionKey<PackageIDSequence> > contains_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const PackageID> > > contained_in_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > fs_location_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<long> > size_of_download_required_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<long> > size_of_all_distfiles_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
+
+ const std::tr1::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
+ const std::tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();
+ const std::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();
- const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key();
- const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key();
- const tr1::shared_ptr<FakeMetadataSpecTreeKey<FetchableURISpecTree> > fetches_key();
- const tr1::shared_ptr<FakeMetadataSpecTreeKey<SimpleURISpecTree> > homepage_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<ProvideSpecTree> > provide_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<FetchableURISpecTree> > fetches_key();
+ const std::tr1::shared_ptr<FakeMetadataSpecTreeKey<SimpleURISpecTree> > homepage_key();
void set_slot(const SlotName &);
@@ -265,7 +265,7 @@ namespace paludis
virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual void perform_action(Action &) const;
- virtual tr1::shared_ptr<const Set<std::string> > breaks_portage() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual std::tr1::shared_ptr<const Set<std::string> > breaks_portage() const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual void invalidate_masks() const;