<commit_before>#ifndef TRACEBODYIO_H_INCLUDED
#define TRACEBODYIO_H_INCLUDED

#include <fstream>
#include "memoryblocks.h"
#include "trace.h"


using namespace std;

class TraceBodyIO
{
  public:
    TraceBodyIO();
    virtual ~TraceBodyIO() = 0;

    static void read( fstream& whichStream, MemoryBlocks& whichMemory );
    static void write( fstream& whichStream,
                       const Trace& whichTrace,
                       const MemoryTrace::iterator *record );
  protected:

  private:

};


#endif // TRACEBODYIO_H_INCLUDED<commit_msg>*** empty log message ***<commit_after>#ifndef TRACEBODYIO_H_INCLUDED
#define TRACEBODYIO_H_INCLUDED

#include <fstream>
#include "memoryblocks.h"
#include "trace.h"
#include "tracestream.h"

using namespace std;

class TraceBodyIO
{
  public:
    TraceBodyIO();
    virtual ~TraceBodyIO() = 0;

    static void read( TraceStream *whichStream, MemoryBlocks& whichMemory );
    static void write( fstream& whichStream,
                       const Trace& whichTrace,
                       const MemoryTrace::iterator *record );
  protected:

  private:

};


#endif // TRACEBODYIO_H_INCLUDED
{'fraction_non_alphanumeric': 0.09632224168126094, 'fraction_numerical': 0.0017513134851138354, 'mean_word_length': 3.346007604562738, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '314587', 'n_tokens_mistral': 375, 'n_tokens_neox': 355, 'n_words': 89}