Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/aedist/change/functor/invent_build.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 2004, 2005 Walter Franzini
00004 //      Copyright (C) 2007, 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
00009 //      (at 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
00014 //      GNU General Public License for more details.
00015 //
00016 //      You should have received a copy of the GNU General Public License
00017 //      along with this program. If not, see
00018 //      <http://www.gnu.org/licenses/>.
00019 //
00020 
00021 #ifndef AEDIST_CHANGE_FUNCTOR_INVENT_BUILD_H
00022 #define AEDIST_CHANGE_FUNCTOR_INVENT_BUILD_H
00023 
00024 #include <libaegis/change/functor.h>
00025 #include <libaegis/project.h>
00026 #include <libaegis/change.h>
00027 #include <common/symtab/template.h>
00028 
00032 class change_functor_inventory_builder:
00033     public change_functor
00034 {
00035 public:
00039     virtual ~change_functor_inventory_builder();
00040 
00057     change_functor_inventory_builder(bool incbr, bool all_changes, bool inou,
00058         project *pp, symtab<change> *stp);
00059 
00060     // See base class for documentation.
00061     void operator()(change::pointer cp);
00062 
00063 private:
00064     bool inou;                  // ignore original-UUID fields
00065     symtab<change> *stp;
00066     project *pp;
00067 
00071     change_functor_inventory_builder(
00072         const change_functor_inventory_builder &);
00073 
00077     change_functor_inventory_builder &operator=(
00078         const change_functor_inventory_builder &);
00079 };
00080 
00081 #endif // AEDIST_CHANGE_FUNCTOR_INVENT_BUILD_H
00082 // vim: set ts=8 sw=4 et :