ocean.util.serialize.contiguous.MultiVersionDecorator

Enhancement to VersionDecorator that allows converting through multiple struct versions at once. It is kept separate from core implementation because additional overhead may be not suitable for real-time apps

Members

Classes

VersionDecorator
class VersionDecorator

Alternative contiguous version decorator implementation for usage in less performance critical applications. Is capable of converting through multiple struct versions in one go for added convenience.

VersionHandlingException
class VersionHandlingException

Exception thrown when the loaded encounters any issues with version support

Functions

testConv
Dst testConv(Src src, size_t limit)
Undocumented in source. Be warned that the author may not have intended to support it.
testConvMemory
Dst testConvMemory(Src src, size_t limit)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Multi_Test1
struct Multi_Test1
Undocumented in source.
Multi_Test2
struct Multi_Test2
Undocumented in source.
Test1
struct Test1

Conversion from higher version, trivial struct

Test2
struct Test2

Conversion from lower version, trivial struct

Test3
struct Test3

Chained bi-directional conversions

Test4
struct Test4

Conversion which replaces struct fields completely

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).