<commit_before>//
//  Struct.h
//  Clock Signal
//
//  Created by <NAME> on 06/03/2020.
//  Copyright © 2020 <NAME>. All rights reserved.
//

#ifndef Struct_h
#define Struct_h

#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <vector>

#include "Enum.h"

namespace Reflection {

#define DeclareField(Name) declare(&Name, #Name)

struct Struct {
	virtual std::vector<std::string> all_keys() = 0;
	virtual const std::type_info *type_of(const std::string &name) = 0;<commit_msg>Adds necessary header for memcpy.<commit_after>//
//  Struct.h
//  Clock Signal
//
//  Created by <NAME> on 06/03/2020.
//  Copyright © 2020 <NAME>. All rights reserved.
//

#ifndef Struct_h
#define Struct_h

#include <cstring>
#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <vector>

#include "Enum.h"

namespace Reflection {

#define DeclareField(Name) declare(&Name, #Name)

struct Struct {
	virtual std::vector<std::string> all_keys() = 0;
	virtual const std::type_info *type_of(const std::string &name) = 0;
{'fraction_non_alphanumeric': 0.15041782729805014, 'fraction_numerical': 0.025998142989786442, 'mean_word_length': 4.556701030927835, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, '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': '4252777', 'n_tokens_mistral': 401, 'n_tokens_neox': 372, 'n_words': 107}