<commit_before>/*
 * Copyright 2014 <NAME>
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef GUARD_summary_report_writer_hpp_7957524563166092
#define GUARD_summary_report_writer_hpp_7957524563166092

#include "activity_stats.hpp"
#include "report_writer.hpp"
#include "stint.hpp"
#include "time_point.hpp"
#include <map>
#include <ostream>
#include <vector>

namespace swx
{

class SummaryReportWriter: public ReportWriter
{
// nested types
public:
    struct Flags
    {
        using type = int;
        static type constexpr none                  = 0;
        static type constexpr exclude_subactivities = (1 << 0);
        static type constexpr produce_csv           = (1 << 1);
        static type constexpr use_regex             = (1 << 2);
        static type constexpr include_beginning     = (1 << 3);
        static type constexpr include_ending        = (1 << 4);
        static type constexpr show_stints           = (1 << 5);
        static type constexpr verbose               = (1 << 6);
        static type constexpr succinct              = (1 << 7);
    };  // struct Flags

// special member functions
public:
    SummaryReportWriter
    (   std::vector<Stint> const& p_stints,<commit_msg>Remove unused flags from SummaryReportWriter.<commit_after>/*
 * Copyright 2014 <NAME>
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef GUARD_summary_report_writer_hpp_7957524563166092
#define GUARD_summary_report_writer_hpp_7957524563166092

#include "activity_stats.hpp"
#include "report_writer.hpp"
#include "stint.hpp"
#include "time_point.hpp"
#include <map>
#include <ostream>
#include <vector>

namespace swx
{

class SummaryReportWriter: public ReportWriter
{
// nested types
public:
    struct Flags
    {
        using type = int;
        static type constexpr none                  = 0;
        static type constexpr include_beginning     = (1 << 0);
        static type constexpr include_ending        = (1 << 1);
        static type constexpr verbose               = (1 << 2);
        static type constexpr succinct              = (1 << 3);
    };  // struct Flags

// special member functions
public:
    SummaryReportWriter
    (   std::vector<Stint> const& p_stints,
{'fraction_non_alphanumeric': 0.08307597282273008, 'fraction_numerical': 0.032736256948733784, 'mean_word_length': 2.940389294403893, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4506544', 'n_tokens_mistral': 958, 'n_tokens_neox': 870, 'n_words': 333}