TemplateFileStream.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * TemplateFileStream.h
8  *
9  ****/
10 
11 #pragma once
12 
13 #include "FileStream.h"
14 #include "TemplateStream.h"
15 
24 {
25 public:
29  TemplateFileStream(const String& fileName) : TemplateStream(new FileStream(fileName))
30  {
31  }
32 };
33 
Template File stream class.
Definition: TemplateFileStream.h:23
TemplateFileStream(const String &fileName)
Create a template file stream.
Definition: TemplateFileStream.h:29
The String class.
Definition: WString.h:136
File stream class.
Definition: FileStream.h:23
Definition: TemplateStream.h:42