<commit_before>#ifndef DEVICE_HPP
#define DEVICE_HPP

#include <cstdint>

class Device {
public:
    virtual void set(const std::uint32_t data) = 0;
    virtual std::uint32_t get(const std::uint32_t addr) const = 0;
    virtual void setAddress(const std::uint32_t addr) = 0;
};

#endif<commit_msg>Add current operating address to Device class<commit_after>#ifndef DEVICE_HPP
#define DEVICE_HPP

#include <cstdint>
#include <iostream>

class Device {
public:
    virtual void set(const std::uint32_t data) = 0;
    virtual std::uint32_t get() const = 0;

    inline void setAddress(const std::uint32_t addr) {
        operatingAddress = addr;
    }
protected:
    std::uint32_t operatingAddress;
};

#endif
{'fraction_non_alphanumeric': 0.10354609929078014, 'fraction_numerical': 0.029787234042553193, 'mean_word_length': 4.603174603174603, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '5663052', 'n_tokens_mistral': 255, 'n_tokens_neox': 237, 'n_words': 67}