Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Repeat Class Reference

#include <elm/xom/dtd.h>

+ Inheritance diagram for Repeat:

Public Member Functions

 Repeat (Content &content)
 
- Public Member Functions inherited from Content
virtual ~Content (void)
 

Protected Member Functions

bool parse (Parser &parser) override
 
void reset () override
 
- Protected Member Functions inherited from Content
bool doParse (Content &content, Parser &parser)
 

Detailed Description

A content that is repeated zero or more times.

Constructor & Destructor Documentation

◆ Repeat()

Repeat ( Content content)

Build a repeated content.

Parameters
contentRepeated content.

Member Function Documentation

◆ parse()

bool parse ( Parser parser)
overrideprotectedvirtual

Parse the content of the current element in the parser.

Parameters
parserParser to parse with.

Implements Content.

References Content::doParse(), and Parser::ended().

◆ reset()

void reset ( )
overrideprotectedvirtual

Called to reset the state of the content internals.

Implements Content.

References Content::reset().


The documentation for this class was generated from the following files: