paludis  Version 1.4.2
Public Member Functions | List of all members
paludis::NDBAMMerger Class Reference

#include <ndbam_merger.hh>

+ Inheritance diagram for paludis::NDBAMMerger:

Public Member Functions

 NDBAMMerger (const NDBAMMergerParams &)
 
virtual Hook extend_hook (const Hook &)
 
virtual void record_install_file (const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &)
 
virtual void record_install_dir (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
 
virtual void record_install_under_dir (const FSPath &, const FSMergerStatusFlags &)
 
virtual void record_install_sym (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
 
virtual void on_error (bool is_check, const std::string &)
 
virtual void on_warn (bool is_check, const std::string &)
 
virtual void on_enter_dir (bool is_check, const FSPath)
 
virtual bool config_protected (const FSPath &, const FSPath &)
 
virtual std::string make_config_protect_name (const FSPath &, const FSPath &)
 
virtual void merge ()
 
virtual bool check ()
 
- Public Member Functions inherited from paludis::FSMerger
virtual ~FSMerger ()
 
 FSMerger (const FSMerger &)=delete
 
FSMergeroperator= (const FSMerger &)=delete
 
- Public Member Functions inherited from paludis::Merger
 Merger (const MergerParams &)
 
 Merger (const Merger &)=delete
 
Mergeroperator= (const Merger &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from paludis::FSMerger
 FSMerger (const FSMergerParams &)
 
void track_install_file (const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &)
 
void track_install_dir (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
 
void track_install_under_dir (const FSPath &, const FSMergerStatusFlags &)
 
void track_install_sym (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
 
virtual void on_file_main (bool is_check, const FSPath &src, const FSPath &dst)
 
virtual void on_file_over_nothing (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_file_over_file (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_file_over_dir (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_file_over_sym (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_file_over_misc (bool is_check, const FSPath &, const FSPath &)
 
virtual FSMergerStatusFlags install_file (const FSPath &, const FSPath &, const std::string &) PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual void unlink_file (FSPath)
 
virtual void on_dir_main (bool is_check, const FSPath &src, const FSPath &dst)
 
virtual void on_dir_over_nothing (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_dir_over_file (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_dir_over_dir (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_dir_over_sym (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_dir_over_misc (bool is_check, const FSPath &, const FSPath &)
 
virtual FSMergerStatusFlags install_dir (const FSPath &, const FSPath &) PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual void unlink_dir (FSPath)
 
virtual void on_sym_main (bool is_check, const FSPath &src, const FSPath &dst)
 
virtual void on_sym_over_nothing (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_sym_over_file (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_sym_over_dir (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_sym_over_sym (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_sym_over_misc (bool is_check, const FSPath &, const FSPath &)
 
virtual FSMergerStatusFlags install_sym (const FSPath &, const FSPath &) PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual void unlink_sym (FSPath)
 
virtual void unlink_misc (FSPath)
 
virtual void prepare_install_under ()
 
virtual FSPath canonicalise_root_path (const FSPath &f)
 
virtual void do_dir_recursive (bool is_check, const FSPath &, const FSPath &)
 
- Protected Member Functions inherited from paludis::Merger
bool symlink_needs_rewriting (const FSPath &)
 
void rewrite_symlink_as_needed (const FSPath &, const FSPath &)
 
void set_skipped_dir (const bool)
 
void do_ownership_fixes_recursive (const FSPath &)
 
bool fixed_ownership_for (const FSPath &)
 
void make_check_fail ()
 
virtual EntryType entry_type (const FSPath &)
 
virtual void on_leave_dir (bool is_check, const FSPath)
 
virtual void on_done_merge ()
 
virtual void on_misc (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_file (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_dir (bool is_check, const FSPath &, const FSPath &)
 
virtual void on_sym (bool is_check, const FSPath &, const FSPath &)
 

Detailed Description

Merger subclass for NDBAM.

Since
0.26

Member Function Documentation

virtual bool paludis::NDBAMMerger::check ( )
virtual

Check a merge, return whether no errors were encountered.

Reimplemented from paludis::Merger.

virtual Hook paludis::NDBAMMerger::extend_hook ( const Hook )
virtual

Allows subclasses to extend hook calls.

Reimplemented from paludis::FSMerger.

virtual void paludis::NDBAMMerger::merge ( )
virtual

Perform the merge.

Reimplemented from paludis::FSMerger.

virtual void paludis::NDBAMMerger::on_enter_dir ( bool  is_check,
const FSPath   
)
virtual

Allows subclasses to perform behaviour when entering a directory.

Reimplemented from paludis::Merger.

virtual void paludis::NDBAMMerger::on_error ( bool  is_check,
const std::string &   
)
virtual

What to do when an error occurs.

Implements paludis::Merger.

virtual void paludis::NDBAMMerger::on_warn ( bool  is_check,
const std::string &   
)
virtual

What to do when a warning occurs.

Implements paludis::Merger.


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