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

#include <elm/xom/dtd.h>

+ Inheritance diagram for Alt:

Public Member Functions

 Alt (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

Represent an alternative between two contents.

Constructor & Destructor Documentation

◆ Alt()

Alt ( Content content1,
Content content2 
)

Build an alternative content.

Parameters
content1First alternative.
content2Second alternative.

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().

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