<commit_before>#ifndef CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_
#define CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_

#include "perfmon/perfmon.hpp"
#include "clustering/administration/namespace_metadata.hpp"

class perfmon_collection_repo_t {
public:
    class collections_t {
    public:
        collections_t(perfmon_collection_t *parent, namespace_id_t id);

        perfmon_collection_t namespace_collection;
        perfmon_collection_t serializers_collection;
    private:
        perfmon_membership_t parent_membership;
        perfmon_membership_t namespace_membership;
    };
    explicit perfmon_collection_repo_t(perfmon_collection_t *);
    collections_t *get_perfmon_collections_for_namespace(namespace_id_t);
private:
    perfmon_collection_t *parent;
    boost::ptr_map<namespace_id_t,collections_t> perfmon_collections;
};

#endif /* CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_ */<commit_msg>Made perfmon_collection_repo_t noncopyable and give it a space after a comma.<commit_after>#ifndef CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_
#define CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_

#include "perfmon/perfmon.hpp"
#include "clustering/administration/namespace_metadata.hpp"

class perfmon_collection_repo_t {
public:
    class collections_t {
    public:
        collections_t(perfmon_collection_t *parent, namespace_id_t id);

        perfmon_collection_t namespace_collection;
        perfmon_collection_t serializers_collection;
    private:
        perfmon_membership_t parent_membership;
        perfmon_membership_t namespace_membership;
    };
    explicit perfmon_collection_repo_t(perfmon_collection_t *);
    collections_t *get_perfmon_collections_for_namespace(namespace_id_t);

private:
    perfmon_collection_t *parent;
    boost::ptr_map<namespace_id_t, collections_t> perfmon_collections;

    DISABLE_COPYING(perfmon_collection_repo_t);
};

#endif /* CLUSTERING_ADMINISTRATION_PERFMON_COLLECTION_REPO_HPP_ */
{'fraction_non_alphanumeric': 0.05791313030454318, 'fraction_numerical': 0.0, 'mean_word_length': 6.313868613138686, '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': '4227229', 'n_tokens_mistral': 677, 'n_tokens_neox': 664, 'n_words': 88}