#include <XMLNode.h>
class for opening XML files
Definition at line 153 of file XMLNode.h.
◆ XMLFile()
Hal::XMLFile::XMLFile |
( |
TString | name = "", |
|
|
TString | mode = "read" ) |
- Parameters
-
name | name of xml file |
mode | if "READ" or "read" - only read file, otherwise create /overwrite file |
Definition at line 114 of file XMLNode.cxx.
◆ ~XMLFile()
Hal::XMLFile::~XMLFile |
( |
| ) |
|
|
virtual |
destroy object (and save xml file if needed and Close was not called)
Definition at line 158 of file XMLNode.cxx.
◆ Close()
void Hal::XMLFile::Close |
( |
| ) |
|
close and write xml (if needed)
Definition at line 132 of file XMLNode.cxx.
◆ CreateRootNode()
void Hal::XMLFile::CreateRootNode |
( |
TString | name | ) |
|
create new root node
- Parameters
-
Definition at line 128 of file XMLNode.cxx.
◆ GetRootNode()
XMLNode * Hal::XMLFile::GetRootNode |
( |
| ) |
const |
|
inline |
◆ SetRootNode()
void Hal::XMLFile::SetRootNode |
( |
XMLNode * | node | ) |
|
set new root node, old node will be overwritten
- Parameters
-
Definition at line 130 of file XMLNode.cxx.
The documentation for this class was generated from the following files: