|
MIRA
|
Replaces the input node with a different node. More...
#include <xml/macros/UserDefinedMacro.h>

Public Member Functions | |
| XMLValueMacro (ScopePtr scope, CopyableXMLDom value, SourceInfo source=SourceInfo()) | |
| XMLNode | expand (XMLMacroProcessor &processor, XMLNode node) final |
| Expands the macro. More... | |
| const XMLDom & | getValue () const |
| bool | canCoerceToString () const final |
| void | coerceToString (XMLMacroProcessor &, std::ostream &ss) final |
| CopyableXMLDom | evaluate (XMLMacroProcessor &) const |
| template<typename Reflector > | |
| void | reflect (Reflector &r) |
| virtual std::optional< SourceInfo > | getSource () const |
Protected Attributes | |
| ScopePtr | mScope |
| CopyableXMLDom | mValue |
| SourceInfo | mSource |
Replaces the input node with a different node.
|
inline |
|
finalvirtual |
Expands the macro.
| ioNode | Node to expand in-place. |
Implements IMacro.
|
inline |
|
inlinefinalvirtual |
Reimplemented from IMacro.
|
finalvirtual |
Reimplemented from IMacro.
| CopyableXMLDom evaluate | ( | XMLMacroProcessor & | ) | const |
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented in UserDefinedMacro.
|
protected |
|
protected |
|
protected |
1.8.14