Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
TemplateFileStream.h
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/anakod/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * TemplateFileStream.h
8  *
9  ****/
10 
11 #ifndef _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_
12 #define _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_
13 
14 #include "FileStream.h"
15 #include "TemplateStream.h"
16 
25 {
26 public:
30  TemplateFileStream(const String& fileName) : TemplateStream(new FileStream(fileName))
31  {
32  }
33 };
34 
37 #endif /* _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_ */
Template File stream class.
Definition: TemplateFileStream.h:24
TemplateFileStream(const String &fileName)
Create a template file stream.
Definition: TemplateFileStream.h:30
The string class.
Definition: WString.h:104
File stream class.
Definition: FileStream.h:24
Definition: TemplateStream.h:43