<commit_before>#ifndef BUW_MATERIAL_HPP
#define BUW_MATERIAL_HPP

#include <iosfwd>
#include <string>
#include <sstream>
#include <vector>

#include "color.hpp"

class Material {
public:
	Material();
	Material(std::string name, const Color ka, const Color kd, const Color ks, float m);
	~Material();

	std::string getName();
	Color getKA();
	Color getKD();
	Color getKS();
	float getM();

private:
	std::string name_;
	Color ka_;
	Color kd_;
	Color ks_;
	float m_;

};

std::ostream& operator<<(std::ostream& os, Material& m);

#endif // BUW_MATERIAL_HPP<commit_msg>usage of friend<commit_after>#ifndef BUW_MATERIAL_HPP
#define BUW_MATERIAL_HPP

#include <iosfwd>
#include <string>
#include <sstream>
#include <vector>

#include "color.hpp"

class Material {
public:
	Material();
	Material(std::string name, const Color ka, const Color kd, const Color ks, float m);
	~Material();

	std::string getName();
	Color getKA();
	Color getKD();
	Color getKS();
	float getM();

	friend std::ostream& operator<<(std::ostream& os, Material& m);

private:
	std::string name_;
	Color ka_;
	Color kd_;
	Color ks_;
	float m_;

};

std::ostream& operator<<(std::ostream& os, Material& m);

#endif // BUW_MATERIAL_HPP
{'fraction_non_alphanumeric': 0.1475, 'fraction_numerical': 0.0, 'mean_word_length': 5.562841530054645, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 11, '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': '7420229', 'n_tokens_mistral': 454, 'n_tokens_neox': 434, 'n_words': 127}