<commit_before>#ifndef GUARD_object_h
#define GUARD_object_h

#include <memory>
#include "h5cpp.h"
#include "geometry/geometry.h"
#include "materials/material.h"
#include "vec.h"

namespace qbox {

    class object {
    public:
        object(const geometry& geometryType, const material& materialType, vec center, vec orientation = vec(0,1));

        bool inside(const vec& p) const;

        void move(const vec& dr);
        void rotate(quat rot);

        void write();

        std::unique_ptr<geometry> get_geometry() {return geometryType->clone();}
        std::unique_ptr<material> get_material() {return materialType->clone();}

    private:
        vec center;
        vec orientation;

        std::unique_ptr<geometry> geometryType;
        std::unique_ptr<material> materialType;
    };

}

#endif
<commit_msg>fixed reorder warnings<commit_after>#ifndef GUARD_object_h
#define GUARD_object_h

#include <memory>
#include "h5cpp.h"
#include "geometry/geometry.h"
#include "materials/material.h"
#include "vec.h"

namespace qbox {

    class object {
    public:
        object(const geometry& geometryType, const material& materialType, vec center, vec orientation = vec(0,1));

        bool inside(const vec& p) const;

        void move(const vec& dr);
        void rotate(quat rot);

        void write();

        std::unique_ptr<geometry> get_geometry() {return geometryType->clone();}
        std::unique_ptr<material> get_material() {return materialType->clone();}

    private:
        std::unique_ptr<geometry> geometryType;
        std::unique_ptr<material> materialType;

        vec center;
        vec orientation;
    };

}

#endif

{'fraction_non_alphanumeric': 0.11814345991561181, 'fraction_numerical': 0.003616636528028933, 'mean_word_length': 3.3342036553524803, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, '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': '1018839', 'n_tokens_mistral': 514, 'n_tokens_neox': 491, 'n_words': 126}