Writer

The abstract [Writer](API\Plugins\RigLogicLib\dna\Writer) which its implementations are expected to inherit. @note This class combines the various different writer interfaces into a single interface. The artificial separation into multiple interfaces in this case just mirrors the structure of the [Reader](API\Plugins\RigLogicLib\dna\Reader) hierarchy, as it's not possible to selectively write only specific layers.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RigLogicLib

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/Writer.h

Include

#include "dna/Writer.h"

Syntax

class Writer :
    public dna::BehaviorWriter,
    public dna::GeometryWriter

Remarks

The abstract Writer which its implementations are expected to inherit. @note This class combines the various different writer interfaces into a single interface. The artificial separation into multiple interfaces in this case just mirrors the structure of the Reader hierarchy, as it's not possible to selectively write only specific layers.

Destructors

Name Description

Public function

~Writer()

Functions

Name Description

Public function

void

 

setFrom

(
    const Reader* source,
    DataLayer layer,
    MemoryResource* memRes
)

Initialize the Writer from the given Reader. @note This function copies all the data from the given Reader into the Writer instance, by calling each getter function of the Reader, and passing the return values to the matching setter functions in the Writer. It is implemented in the abstract class itself to provide the functionality for all DNA Writers.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss