Public Member Functions | Private Attributes | List of all members
FileOperation Class Reference

#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
 

Detailed Description

Definition at line 13 of file file_operation.h.

Constructor & Destructor Documentation

FileOperation::FileOperation ( )

Definition at line 10 of file file_operation.cpp.

FileOperation::~FileOperation ( )

Definition at line 11 of file file_operation.cpp.

Member Function Documentation

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.

Member Data Documentation

int FileOperation::test_file_id_ = 0
private

Definition at line 24 of file file_operation.h.


The documentation for this class was generated from the following files:


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54