Aegis  4.25.D505
Public Member Functions | Private Member Functions | Private Attributes
change_functor_archive Class Reference

#include <archive.h>

Inheritance diagram for change_functor_archive:
change_functor

Public Member Functions

virtual ~change_functor_archive ()
 change_functor_archive (bool incbr, project *pp, const char *suffix, const char *fingerprint_suffix, const nstring_list &include_change, const nstring_list &exclude_change)
void operator() (change::pointer)

Private Member Functions

 change_functor_archive ()
 change_functor_archive (const change_functor_archive &)
change_functor_archiveoperator= (const change_functor_archive &)

Private Attributes

nstring_list exclude_change
nstring fingerprint_suffix
nstring_list include_change
projectpp
nstring suffix

Detailed Description

The change_functor_archive class is used to populate the current directory with files generated with aedist(1) -send. For each completed change with an UUID in the project a file is generated. The file is the output of the 'aedist -send' command and is named after the UUID of the change. To detect corruptions, for each file the fingerprint is calculated and stored in another file.

Definition at line 35 of file archive.h.


Constructor & Destructor Documentation

The destructor.

change_functor_archive::change_functor_archive ( bool  incbr,
project pp,
const char *  suffix,
const char *  fingerprint_suffix,
const nstring_list include_change,
const nstring_list exclude_change 
)

The constructor.

Parameters:
incbrwhether or not to recurse down brabches
ppThe project in question.
suffixThe suffix to append to aedist(1) generated files.
fingerprint_suffixThe suffix to append to files containing the fingerprint of aedist(1) generated archives.
include_changeThe list of version patterns used to filter changes from the inventory.
exclude_changeThe list of version patterns used to filter out changes from the inventory.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

void change_functor_archive::operator() ( change::pointer  ) [virtual]

The operator() is run for each completed change with an UUID.

Implements change_functor.

change_functor_archive& change_functor_archive::operator= ( const change_functor_archive ) [private]

The assignment operator. Do not use.


Field Documentation

The exclude_change instance variable is used to remember the list of patterns used to filter out changes. The patterns match against the change's version.

Definition at line 79 of file archive.h.

The fingerprint_suffix instance variable is used to remember the extension to be appended to the fingerprin file.

Definition at line 85 of file archive.h.

The include_change instance variable is used to remember the list of patterns used to filter changes. The patterns match against the change's version.

Definition at line 92 of file archive.h.

The pp instance variable is used to remember the project being listed.

Definition at line 97 of file archive.h.

The suffix instance variable is used to remember the extension to be appendedn to the aedist(1) generated archive file.

Definition at line 103 of file archive.h.


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