Nektar++
|
Base class for writing hierarchical data (XML or HDF5). More...
#include <FieldIO.h>
Public Member Functions | |
std::shared_ptr< TagWriter > | AddChild (const std::string &name) |
Create a child node. More... | |
void | SetAttr (const std::string &key, const std::string &val) |
Set an attribute on the node. More... | |
Protected Member Functions | |
virtual | ~TagWriter () |
virtual std::shared_ptr< TagWriter > | v_AddChild (const std::string &name)=0 |
virtual void | v_SetAttr (const std::string &key, const std::string &val)=0 |
|
inlineprotectedvirtual |
|
inline |
Create a child node.
Definition at line 60 of file FieldIO.h.
References CellMLToNektar.pycml::name, and v_AddChild().
|
inline |
Set an attribute on the node.
Definition at line 65 of file FieldIO.h.
References v_SetAttr().
|
protectedpure virtual |
Implemented in Nektar::LibUtilities::H5TagWriter, and Nektar::LibUtilities::XmlTagWriter.
Referenced by AddChild().
|
protectedpure virtual |
Implemented in Nektar::LibUtilities::H5TagWriter, and Nektar::LibUtilities::XmlTagWriter.
Referenced by SetAttr().