OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
FileWriter.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <fstream>
4
6{
7public:
8 FileWriter(const std::string& _filePath, bool _append = false);
10
11 void write(const std::string& _content);
12 void close();
13
14private:
15 std::fstream m_fStream;
16};
Definition FileWriter.h:6
void close()
Definition FileWriter.cpp:24
FileWriter(const std::string &_filePath, bool _append=false)
Definition FileWriter.cpp:3
void write(const std::string &_content)
Definition FileWriter.cpp:19
~FileWriter()
Definition FileWriter.cpp:29