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

#include <elm/xom/dtd.h>

+ Inheritance diagram for Seq:

Public Member Functions

 Seq (Content &content1, Content &content2)
 
- 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

Content representing a sequence of contents.

Constructor & Destructor Documentation

◆ Seq()

Seq ( Content content1,
Content content2 
)

Build a sequence content.

Parameters
content1Content first found.
content2Content next found.

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 Parser::backtrack(), Content::doParse(), Parser::ended(), and Parser::mark().

◆ 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: