Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::SerializationBinaryOptions Struct Reference

Conversion options for the binary versioned deserializer. More...

#include <SerializationBinaryOptions.h>

Public Attributes

bool allowFloatToIntTruncation = true
 Can truncate a float to get an integer value.
 
bool allowDropExcessArrayItems = true
 Can drop array items if destination array is smaller.
 
bool allowDropExcessStructMembers = true
 Can drop fields not matching any memberTag in destination struct.
 
bool allowBoolConversions = true
 Can convert bool to and from other primitive types (int / floats)
 

Detailed Description

Conversion options for the binary versioned deserializer.

Member Data Documentation

◆ allowBoolConversions

bool SC::SerializationBinaryOptions::allowBoolConversions = true

Can convert bool to and from other primitive types (int / floats)

◆ allowDropExcessArrayItems

bool SC::SerializationBinaryOptions::allowDropExcessArrayItems = true

Can drop array items if destination array is smaller.

◆ allowDropExcessStructMembers

bool SC::SerializationBinaryOptions::allowDropExcessStructMembers = true

Can drop fields not matching any memberTag in destination struct.

◆ allowFloatToIntTruncation

bool SC::SerializationBinaryOptions::allowFloatToIntTruncation = true

Can truncate a float to get an integer value.


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