//
// aegis - project change supervisor
// Copyright (C) 2014 Walter Franzini
// Copyright (C) 2014 Peter Miller
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or (at
// your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program. If not, see .
//
#ifndef AEEXPORT_CHANGE_FUNCTOR_EXPORT_H
#define AEEXPORT_CHANGE_FUNCTOR_EXPORT_H
#include
#include
#include
/**
* The change_functor_export class is used to represent
*/
class change_functor_export:
public change_functor
{
public:
typedef aegis_shared_ptr pointer;
/**
* The destructor.
*/
virtual ~change_functor_export();
private:
/**
* The default constructor.
* It is private on purpose, use the #create class method instead.
*/
change_functor_export();
public:
change_functor_export(bool, output::pointer, nstring);
public:
/**
* The create class method is used to create new dynamically
* allocated instances of this class.
*/
static pointer create(bool, output::pointer, nstring);
// See base class for documentation.
virtual void operator()(const change::pointer &cp);
private:
/**
* The copy constructor. Do not use.
*/
change_functor_export(const change_functor_export &);
/**
* The assignment operator. Do not use.
*/
change_functor_export &operator=(const change_functor_export &);
void one_more_file(const change::pointer &cp, fstate_src_ty *src);
output::pointer ofp;
nstring ref;
};
// vim: set ts=8 sw=4 et :
#endif // AEEXPORT_CHANGE_FUNCTOR_EXPORT_H