Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/xom/dtd.h>
Public Member Functions | |
Optional (Content &content) | |
Public Member Functions inherited from Content | |
virtual | ~Content (void) |
Protected Member Functions | |
void | reset () override |
bool | parse (Parser &parser) override |
Protected Member Functions inherited from Content | |
bool | doParse (Content &content, Parser &parser) |
Represent an optional content: if the content is recognized, it is consumed in the parser. Anyhow, a successful parse answer is returned.
Parse the content of the current element in the parser.
parser | Parser to parse with. |
Implements Content.
References Content::doParse(), and Parser::ended().
|
overrideprotectedvirtual |
Called to reset the state of the content internals.
Implements Content.
References Content::reset().