Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/aedist/change/functor/archive.h
Go to the documentation of this file.
00001 //
00002 // aegis - project change supervisor
00003 // Copyright (C) 2007 Walter Franzini
00004 // Copyright (C) 2008, 2011, 2012 Peter Miller
00005 //
00006 // This program is free software; you can redistribute it and/or modify
00007 // it under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 3 of the License, or (at
00009 // your option) any later version.
00010 //
00011 // This program is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License along
00017 // with this program. If not, see <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef AEDIST_CHANGE_FUNCTOR_ARCHIVE_H
00021 #define AEDIST_CHANGE_FUNCTOR_ARCHIVE_H
00022 
00023 #include <libaegis/change/functor.h>
00024 
00025 
00035 class change_functor_archive:
00036     public change_functor
00037 {
00038 public:
00042     virtual ~change_functor_archive();
00043 
00063     change_functor_archive(bool incbr, project *pp,
00064         const char *suffix, const char *fingerprint_suffix,
00065         const nstring_list &include_change, const nstring_list &exclude_change);
00066 
00070     void operator()(change::pointer );
00071 
00072 private:
00073 
00079     nstring_list exclude_change;
00080 
00085     nstring fingerprint_suffix;
00086 
00092     nstring_list include_change;
00093 
00097     project *pp;
00098 
00103     nstring suffix;
00104 
00108     change_functor_archive();
00109 
00113     change_functor_archive(const change_functor_archive &);
00114 
00118     change_functor_archive &operator=(const change_functor_archive &);
00119 };
00120 
00121 #endif // AEDIST_CHANGE_FUNCTOR_ARCHIVE_H
00122 // vim: set ts=8 sw=4 et :