Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/aedist/change/functor/pendin_print.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 2006-2008, 2011, 2012 Peter Miller
00004 //      Copyright (C) 2005 Walter Franzini;
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_PENDIN_PRINT_H
00022 #define AEDIST_CHANGE_FUNCTOR_PENDIN_PRINT_H
00023 
00024 #include <common/nstring.h>
00025 #include <common/symtab/template.h>
00026 #include <libaegis/change.h>
00027 #include <libaegis/change/functor.h>
00028 #include <libaegis/col.h>
00029 #include <libaegis/project.h>
00030 
00031 template <class valye_type_ty> class symtab;
00032 
00036 class change_functor_pending_printer:
00037     public change_functor
00038 {
00039 public:
00043     virtual ~change_functor_pending_printer();
00044 
00048     change_functor_pending_printer(bool incbr, project *proj,
00049         const nstring &repository, symtab<nstring> *remote,
00050         nstring_list *include_uuid_list, nstring_list *include_version_list,
00051         nstring_list *exclude_uuid_list, nstring_list *exclude_version_list);
00052 
00053     // See base class for documentation.
00054     virtual void operator()(change::pointer cp);
00055 
00056 private:
00057     project *pp;
00058     symtab<nstring> *remote_inventory;
00059     nstring_list *in_uuid_list;
00060     nstring_list *in_version_list;
00061     nstring_list *ex_uuid_list;
00062     nstring_list *ex_version_list;
00063     col::pointer colp;
00064     output::pointer vers_col;
00065     output::pointer uuid_col;
00066     output::pointer desc_col;
00067     int n;
00068 
00072     change_functor_pending_printer(const change_functor_pending_printer &);
00073 
00077     change_functor_pending_printer &operator=
00078         (const change_functor_pending_printer &);
00079 };
00080 
00081 #endif // AEDIST_CHANGE_FUNCTOR_PENDIN_PRINT_H
00082 // vim: set ts=8 sw=4 et :