Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
game_statistics_output_file.cpp File Reference
#include "game_statistics_output_file.h"
#include "game.h"
#include "game_controller.h"
#include "game_statistics.h"
#include <cassert>
#include <fstream>
#include <filesystem>
Include dependency graph for game_statistics_output_file.cpp:

Functions

std::string get_column_headers_as_str ()
 Get the column headers as one, comma-seperated string.
 
void test_game_statistics_output_file ()
 
template<class T >
std::string to_comma_seperated_str_impl (const std::vector< T > &v)
 
std::string to_comma_seperated_str (const std::vector< double > &v)
 
std::string to_comma_seperated_str (const std::vector< std::string > &v)
 

Function Documentation

◆ get_column_headers_as_str()

std::string get_column_headers_as_str ( )

Get the column headers as one, comma-seperated string.

◆ test_game_statistics_output_file()

void test_game_statistics_output_file ( )

◆ to_comma_seperated_str() [1/2]

std::string to_comma_seperated_str ( const std::vector< double > &  v)

◆ to_comma_seperated_str() [2/2]

std::string to_comma_seperated_str ( const std::vector< std::string > &  v)

◆ to_comma_seperated_str_impl()

template<class T >
std::string to_comma_seperated_str_impl ( const std::vector< T > &  v)