Sane C++ Libraries
C++ Platform Abstraction Libraries
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. More...
 
bool allowDropExcessArrayItems = true
 Can drop array items if destination array is smaller. More...
 
bool allowDropExcessStructMembers = true
 Can drop fields not matching any memberTag in destination struct. More...
 
bool allowBoolConversions = true
 Can convert bool to and from other primitive types (int / floats) More...
 

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: