NRE_BinaryOutputFile.hpp
Go to the documentation of this file.
1 
10  #pragma once
11 
12  #include "../../Output/File/NRE_OutputFile.hpp"
13  #include "../Stream/NRE_BinaryOutputStream.hpp"
14 
19  namespace NRE {
24  namespace IO {
25 
31  public: // Methods
32  //## Constructor ##//
36  BinaryOutputFile() = delete;
41  BinaryOutputFile(File const& p);
42 
43  //## Move-Constructor ##//
48  BinaryOutputFile(BinaryOutputFile && o) = default;
49 
50  //## Deconstructor ##//
54  ~BinaryOutputFile() = default;
55 
56  //## Methods ##//
60  std::ios_base::openmode getMode() const override;
64  std::fstream& getStream() override;
65 
66  //## Assignment Operator ##//
73  };
74  }
75  }
76 
77  #include "NRE_BinaryOutputFile.tpp"
Manage a file path and ensure that's the file exist before accessing it.
Definition: NRE_File.hpp:32
IO's API.
std::ios_base::openmode getMode() const override
BinaryOutputFile & operator=(BinaryOutputFile &&o)
Manage output file stream.
Definition: NRE_OutputFile.hpp:30
Base interface for binary output related stream.
Definition: NRE_BinaryOutputStream.hpp:29
The NearlyRealEngine's global namespace.
Manage binary output file stream.
Definition: NRE_BinaryOutputFile.hpp:30
std::fstream & getStream() override