Skip to content

NodeDeserializer

Functions

Name
voidassignCommon(const rapidjson::Value & value, Ptr< GuiNode > node)
voidassignSequence(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.

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 2024-11-06 at 20:16:53 +0000