NodeDeserializer
Functions
| Name | |
|---|---|
| void | assignCommon(const rapidjson::Value & value, Ptr< GuiNode > node) |
| void | assignSequence(const rapidjson::Value & value, Ptr< GuiSequence > sequence) |
| std::vector< Ptr< GuiNode > > | createFrom(const Memento & memento) |
| std::optional< Ptr< GuiOperator > > | createOperator(const rapidjson::Value & value) |
| Ptr< GuiSequence > | createSequence(const rapidjson::Value & value) |
| std::optional< Ptr< GuiTransform > > | createTransform(const rapidjson::Value & value) |
Functions Documentation
function assignCommon
cpp
void assignCommon(
const rapidjson::Value & value,
Ptr< GuiNode > node
)void assignCommon(
const rapidjson::Value & value,
Ptr< GuiNode > node
)function assignSequence
cpp
void assignSequence(
const rapidjson::Value & value,
Ptr< GuiSequence > sequence
)void assignSequence(
const rapidjson::Value & value,
Ptr< GuiSequence > sequence
)function createFrom
cpp
std::vector< Ptr< GuiNode > > createFrom(
const Memento & memento
)std::vector< Ptr< GuiNode > > createFrom(
const Memento & memento
)Precondition: DIWNE and WorkspaceWindow are initialized.
TodoAssign script after the node is connected with the other nodes.
function createOperator
cpp
std::optional< Ptr< GuiOperator > > createOperator(
const rapidjson::Value & value
)std::optional< Ptr< GuiOperator > > createOperator(
const rapidjson::Value & value
)function createSequence
cpp
Ptr< GuiSequence > createSequence(
const rapidjson::Value & value
)Ptr< GuiSequence > createSequence(
const rapidjson::Value & value
)function createTransform
cpp
std::optional< Ptr< GuiTransform > > createTransform(
const rapidjson::Value & value
)std::optional< Ptr< GuiTransform > > createTransform(
const rapidjson::Value & value
)Updated on 2025-09-07 at 16:13:51 +0000