4 #include <Configuration.h> 17 std::string& full_ret_file);
23 const std::string& file_name) {
24 std::string full_file_name;
27 std::ofstream savefile(full_file_name.c_str(), std::ios::app);
28 for (
int i(0); i < _vec.rows(); ++i) {
29 savefile << _vec(i) <<
"\t";
37 const std::string& file_name) {
43 const std::string& file_name) {
44 std::string full_file_name;
46 std::ofstream savefile(full_file_name.c_str(), std::ios::app);
48 for (
unsigned int i(0); i < _vec.size(); ++i) {
49 savefile << _vec[i] <<
"\t";
57 const std::string& file_name,
int size) {
58 std::string full_file_name;
60 std::ofstream savefile(full_file_name.c_str(), std::ios::app);
61 for (
int i(0); i < size; ++i) {
62 savefile << _vec[i] <<
"\t";
70 const std::string& file_name) {
71 std::string full_file_name;
73 std::ofstream savefile(full_file_name.c_str(), std::ios::app);
75 savefile << _value <<
"\n";
typename Eigen::Matrix< T, 3, 1 > Vec3
static std::list< std::string > gs_fileName_string
void saveVector(const DVec< T > &_vec, const std::string &folder_name, const std::string &file_name)
void cleaning_file(const std::string &folder_name, const std::string &file_name, std::string &full_ret_file)
void create_folder(const std::string &folder_name)
void saveValue(T _value, const std::string &folder_name, const std::string &file_name)
typename Eigen::Matrix< T, Eigen::Dynamic, 1 > DVec