sedProcess.h 669 B

123456789101112131415161718192021222324252627282930
  1. // Filename: sedProcess.h
  2. // Created by: drose (24Oct00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. #ifndef SEDPROCESS_H
  6. #define SEDPROCESS_H
  7. #include "ppremake.h"
  8. #include "sedScript.h"
  9. ///////////////////////////////////////////////////////////////////
  10. // Class : SedProcess
  11. // Description : This supervises the whole sed process, from beginning
  12. // to end.
  13. ////////////////////////////////////////////////////////////////////
  14. class SedProcess {
  15. public:
  16. SedProcess();
  17. ~SedProcess();
  18. bool add_script_line(const string &line);
  19. void run(istream &in, ostream &out);
  20. private:
  21. SedScript _script;
  22. };
  23. #endif