Logo Search packages:      
Sourcecode: tardy version File versions  Download package

filter.h

//
//    srecord - manipulate eprom load files
//    Copyright (C) 2002 Peter Miller;
//    All rights reserved.
//
//    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 2 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, write to the Free Software
//    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
//
// MANIFEST: interface definition for common/filenamelist/filter.cc
//

#ifndef COMMON_FILENAMELIST_FILTER_H
#define COMMON_FILENAMELIST_FILTER_H

#pragma interface "filenamelist_filter"

#include <filenamelist.h>

/**
  * The filenamelist_filter class is used to represent
  */
00033 class filenamelist_filter:
      public filenamelist
{
public:
      /**
        * The destructor.
        */
      virtual ~filenamelist_filter();

      // see base class for documentation
      const char *filename() const;

protected:
      /**
        * The constructor.
        */
      filenamelist_filter(filenamelist *);

      /**
        * The read_one_deeper method is used to read one line from
        * the deeper file name list.
        */
      bool read_one_deeper(rcstring &result);

private:

      /**
        * The deeper instance variable is used to remember the source
        * fo the filenamelist being filtered.
        */
00063       filenamelist *deeper;

      /**
        * The default constructor.
        */
      filenamelist_filter();

      /**
        * The copy constructor.
        */
      filenamelist_filter(const filenamelist_filter &);

      /**
        * The assignment operator.
        */
      filenamelist_filter &operator=(const filenamelist_filter &);
};

#endif // COMMON_FILENAMELIST_FILTER_H

Generated by  Doxygen 1.6.0   Back to index