Ignore:
Timestamp:
Apr 28, 2018, 3:54:43 PM (12 months ago)
Author:
nmedfort
Message:

Added temporary buffer functionality to the pipeline for single stream source buffers. Fixed memory leak from UCD::UnicodeBreakRE()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep/grep_engine.h

    r5994 r5998  
    5555public:
    5656
     57    enum class EngineKind {QuietMode, MatchOnly, CountOnly, EmitMatches};
     58
    5759    GrepEngine();
    58     virtual ~GrepEngine();
     60
     61    virtual ~GrepEngine() = 0;
    5962   
    6063    void setPreferMMap() {mPreferMMap = true;}
     
    8689    int32_t openFile(const std::string & fileName, std::ostringstream & msgstrm);
    8790
    88     enum class EngineKind {QuietMode, MatchOnly, CountOnly, EmitMatches};
     91    std::string linePrefix(std::string fileName);
     92
     93protected:
     94
    8995    EngineKind mEngineKind;
    90    
    91     std::string linePrefix(std::string fileName);
    92 
    9396    bool mSuppressFileMessages;
    9497    argv::BinaryFilesMode mBinaryFilesMode;
Note: See TracChangeset for help on using the changeset viewer.