#include <file_operation.h>
Public Member Functions | |
FileOperation () | |
void | getAllFilesName (std::string dir_path, std::vector< std::string > &files_name) |
struct DataBuff | readFileAsDatabuffer (const std::string file_path) |
std::string | readFileAsString (const std::string file_path) |
std::string | setFileName (std::string file_type) |
~FileOperation () | |
Private Attributes | |
int | test_file_id_ = 0 |
Definition at line 13 of file file_operation.h.
FileOperation::FileOperation | ( | ) |
Definition at line 10 of file file_operation.cpp.
FileOperation::~FileOperation | ( | ) |
Definition at line 11 of file file_operation.cpp.
void FileOperation::getAllFilesName | ( | std::string | dir_path, |
std::vector< std::string > & | files_name | ||
) |
Definition at line 64 of file file_operation.cpp.
struct DataBuff FileOperation::readFileAsDatabuffer | ( | const std::string | file_path | ) |
Definition at line 26 of file file_operation.cpp.
std::string FileOperation::readFileAsString | ( | const std::string | file_path | ) |
Definition at line 49 of file file_operation.cpp.
std::string FileOperation::setFileName | ( | std::string | file_type | ) |
Definition at line 14 of file file_operation.cpp.
|
private |
Definition at line 24 of file file_operation.h.