|
MIRA
|
Zips lists. More...
#include <xml/macros/Builtins.h>

Classes | |
| struct | ZipBody |
Public Member Functions | |
| XMLNode | expand (XMLMacroProcessor &processor, XMLNode node) final |
| Expands the macro. More... | |
| template<typename Reflector > | |
| void | reflect (Reflector &r) |
| virtual bool | canCoerceToString () const |
| virtual void | coerceToString (XMLMacroProcessor &, std::ostream &) |
| virtual std::optional< SourceInfo > | getSource () const |
Static Public Attributes | |
| static constexpr const char * | NAME = "Zip" |
Zips lists.
Example: <macro:Zip> <Foo> 1 2 3 </Foo> <Bar> A B C </Bar> </macro:Zip>
will result in:
<Foo>1</Foo> <Bar>A</Bar> <Foo>2</Foo> <Bar>B</Bar> <Foo>3</Foo> <Bar>C</Bar>
|
finalvirtual |
Expands the macro.
| ioNode | Node to expand in-place. |
Implements IMacro.
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented in NothingMacro, XMLValueMacro, and UserDefinedMacro.
|
inlinevirtualinherited |
Reimplemented in NothingMacro, XMLValueMacro, and UserDefinedMacro.
|
inlinevirtualinherited |
Reimplemented in UserDefinedMacro.
|
static |
1.8.14