JsonDirectoryTemplate.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  * JsonDirectoryTemplate.h
8  *
9  * @author mikee47 <mike@sillyhouse.net> Nov 2020
10  *
11  ****/
12 
13 #pragma once
14 
15 #include "DirectoryTemplate.h"
16 #include <Data/Format.h>
17 
18 namespace IFS
19 {
24 {
25 public:
27  {
29  }
30 };
31 
32 } // namespace IFS
Base class for read-only stream.
Definition: DataSourceStream.h:46
Directory stream class.
Definition: DirectoryTemplate.h:43
Directory & dir()
Definition: DirectoryTemplate.h:57
Wrapper class for enumerating a directory.
Definition: Directory.h:32
Read-only stream providing directory listing in JSON format.
Definition: JsonDirectoryTemplate.h:24
JsonDirectoryTemplate(IDataSourceStream *source, Directory *dir)
Definition: JsonDirectoryTemplate.h:26
void setFormatter(Formatter &formatter)
Associate a text format with this template stream.
Definition: SectionTemplate.h:117
Json json
Definition: DirectoryTemplate.h:37