| 246 | } // namespace |
| 247 | |
| 248 | SectionTemplate::SectionTemplate(IDataSourceStream* source, uint8_t maxSections) |
| 249 | : TemplateStream(§ionStream, false), sectionStream(source, maxSections) |
| 250 | { |
| 251 | sectionStream.onNextSection([this]() { seekFrom(0, SeekOrigin::Start); }); |
| 252 | sectionStream.onNextRecord(SectionStream::NextRecord(&SectionTemplate::nextRecord, this)); |
| 253 | // Level 0 is always enabled |
| 254 | conditionalFlags[0] = true; |
| 255 | } |
| 256 | |
| 257 | String SectionTemplate::openTag(bool enable) |
| 258 | { |
nothing calls this directly
no test coverage detected