paludis  Version 2.6.0
List of all members
paludis::RepositoryDestinationInterface Class Referenceabstract

#include <repository.hh>

+ Inheritance diagram for paludis::RepositoryDestinationInterface:

Destination functions

virtual bool is_suitable_destination_for (const std::shared_ptr< const PackageID > &) const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual bool want_pre_post_phases () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual void merge (const MergeParams &)=0

Detailed Description

Interface for repositories that can be used as an install destination.

See also

Member Function Documentation

virtual bool paludis::RepositoryDestinationInterface::is_suitable_destination_for ( const std::shared_ptr< const PackageID > &  ) const
pure virtual

Are we a suitable destination for the specified package?

0.58 takes id by shared_ptr

Implemented in paludis::FakeInstalledRepository.

virtual void paludis::RepositoryDestinationInterface::merge ( const MergeParams )
pure virtual

Merge a package.

Implemented in paludis::FakeInstalledRepository.

virtual bool paludis::RepositoryDestinationInterface::want_pre_post_phases ( ) const
pure virtual

If true, pre and post install phases will be used when writing to this destination.

This should return true for 'real' filesystem destinations (whether or not root is /, if root merges are supported), and false for intermediate destinations such as binary repositories.

Implemented in paludis::FakeInstalledRepository.

The documentation for this class was generated from the following file: