Kanzi Connect 3.9.10
kanzi::connect::RuntimeDataBuilder Class Reference

Internalization functionality. More...

#include <runtimedatabuilder.hpp>

Static Public Member Functions

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.
 

Detailed Description

Internalization functionality.

Member Function Documentation

◆ 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
rootPathDefines the path for the root object, the children will append to this
xmlthe xml to internalize
settingFactoryfactory 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
elementthe element whom childs are to be enumerated.
settingFactoryfactory to access persistence service

The documentation for this class was generated from the following file: