XII Release 0.1.0
Loading...
Searching...
No Matches
xiiToolsSerializationUtils Class Reference

Provides helper functions for serializing document object types and copying properties between objects. More...

#include <ToolsSerializationUtils.h>

Public Types

using FilterFunction = xiiDelegate<bool(const xiiAbstractProperty*)>
 

Static Public Member Functions

static void SerializeTypes (const xiiSet< const xiiRTTI * > &types, xiiAbstractObjectGraph &ref_typesGraph)
 Serializes the given set of types into the provided object graph.
 
static void CopyProperties (const xiiDocumentObject *pSource, const xiiDocumentObjectManager *pSourceManager, void *pTarget, const xiiRTTI *pTargetType, FilterFunction propertFilter=nullptr)
 Copies properties from a source document object to a target object, optionally filtering properties.
 

Detailed Description

Provides helper functions for serializing document object types and copying properties between objects.

Also check out xiiToolsReflectionUtils for related functionality.


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