Kanzi Connect  3.9.8
Kanzi Connect C++ API
kanzi::connect::RuntimeDataObjectUtil Class Reference

conveniency class for external language (android java) bindings. More...

#include <runtimedataobjectutil.hpp>

Static Public Member Functions

static string externalizeToJSON (RuntimeDataObjectSharedPtr object)
 Externalize runtime data object to JSON string. More...
 
static RuntimeDataObjectBoolSharedPtr getBoolChild (RuntimeDataObjectSharedPtr parent, const string &name)
 Gets specific child boolean. More...
 
static RuntimeDataObjectIntSharedPtr getIntChild (RuntimeDataObjectSharedPtr parent, const string &name)
 Gets specific child integer. More...
 
static RuntimeDataObjectListSharedPtr getListChild (RuntimeDataObjectSharedPtr parent, const string &name)
 Gets specific list object. More...
 
static RuntimeDataObjectRealSharedPtr getRealChild (RuntimeDataObjectSharedPtr parent, const string &name)
 Gets specific real(float) value. More...
 
static RuntimeDataObjectStringSharedPtr getStringChild (RuntimeDataObjectSharedPtr parent, const string &name)
 Gets specific string type of child. More...
 

Detailed Description

conveniency class for external language (android java) bindings.

Member Function Documentation

◆ externalizeToJSON()

static string kanzi::connect::RuntimeDataObjectUtil::externalizeToJSON ( RuntimeDataObjectSharedPtr  object)
inlinestatic

Externalize runtime data object to JSON string.

Parameters
objectthe object to externalize.
Returns
JSON representation of the object.

◆ getBoolChild()

static RuntimeDataObjectBoolSharedPtr kanzi::connect::RuntimeDataObjectUtil::getBoolChild ( RuntimeDataObjectSharedPtr  parent,
const string &  name 
)
inlinestatic

Gets specific child boolean.

Parameters
parentthe parent whom child is to be retrieved.
namethe name

◆ getIntChild()

static RuntimeDataObjectIntSharedPtr kanzi::connect::RuntimeDataObjectUtil::getIntChild ( RuntimeDataObjectSharedPtr  parent,
const string &  name 
)
inlinestatic

Gets specific child integer.

Parameters
parentthe parent whom child is to be retrieved.
namethe name

◆ getListChild()

static RuntimeDataObjectListSharedPtr kanzi::connect::RuntimeDataObjectUtil::getListChild ( RuntimeDataObjectSharedPtr  parent,
const string &  name 
)
inlinestatic

Gets specific list object.

Parameters
parentthe parent whom child is to be retrieved.
namethe name

◆ getRealChild()

static RuntimeDataObjectRealSharedPtr kanzi::connect::RuntimeDataObjectUtil::getRealChild ( RuntimeDataObjectSharedPtr  parent,
const string &  name 
)
inlinestatic

Gets specific real(float) value.

Parameters
parentthe parent whom child is to be retrieved.
namethe name

◆ getStringChild()

static RuntimeDataObjectStringSharedPtr kanzi::connect::RuntimeDataObjectUtil::getStringChild ( RuntimeDataObjectSharedPtr  parent,
const string &  name 
)
inlinestatic

Gets specific string type of child.

Parameters
parentthe parent whom child is to be retrieved.
namethe name of the client to retrieve.
Returns
shared pointer to client or empty pointer.

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