Internalization functionality.
More...
#include <runtimedatabuilder.hpp>
|
static RuntimeDataObjectSharedPtr | build (const string &rootPath, const string &xml, const persistence::SettingFactory *settingFactory) |
| Build node tree from xml definition.
|
|
static RuntimeDataObjectSharedPtr | build (const tinyxml2::XMLElement *element, const persistence::SettingFactory *settingFactory) |
| Build the object tree from given XML node tree.
|
|
Internalization functionality.
◆ build() [1/2]
static RuntimeDataObjectSharedPtr kanzi::connect::RuntimeDataBuilder::build |
( |
const string & | rootPath, |
|
|
const string & | xml, |
|
|
const persistence::SettingFactory * | settingFactory ) |
|
static |
Build node tree from xml definition.
- Parameters
-
rootPath | Defines the path for the root object, the children will append to this |
xml | the xml to internalize |
settingFactory | factory to access persistence service |
- Returns
- node tree
◆ build() [2/2]
static RuntimeDataObjectSharedPtr kanzi::connect::RuntimeDataBuilder::build |
( |
const tinyxml2::XMLElement * | element, |
|
|
const persistence::SettingFactory * | settingFactory ) |
|
static |
Build the object tree from given XML node tree.
Effectively all the childs of provided node are enumerated and created accordingly
- Parameters
-
element | the element whom childs are to be enumerated. |
settingFactory | factory to access persistence service |
The documentation for this class was generated from the following file:
- connect/runtimedata/runtimedatabuilder.hpp