/*
    C++ Mesh Generation Library
    Copyright (c) 2000echet <eric at bechet dot ca>

    This file is part of the C++ Mesh Generation Library.

    See the NOTICE & LICENSE files for conditions.
*/
#ifndef FM_EXPORTFUNCTOR_H
#define FM_EXPORTFUNCTOR_H

#include <set>
#include <map>
#include <vector>

using namespace std;

namespace FM
{
  template <class N,class FieldPair> class ExportFunctor
  {
  public :
    virtual FieldPair& operator() ( const N& node ) =0;
    virtual void Write ( const char *name ) =0;
    virtual void Clear ( void ) =0;
  };
}

#endif //FM_EXPORTFUNCTOR_H
 
