JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::SerialisationSize< T > Struct Template Reference

Holds a reference to some kind of size value, used to indicate that an object being marshalled is of variable size (e.g. More...

#include <juce_Serialisation.h>

Collaboration diagram for juce::SerialisationSize< T >:

Public Attributes

JUCE_COMPARISON_OPS T & size
 

Detailed Description

template<typename T>
struct juce::SerialisationSize< T >

Holds a reference to some kind of size value, used to indicate that an object being marshalled is of variable size (e.g.

Array, vector, map, set, etc.).

If you need to write your own serialisation routines for a dynamically-sized type, ensure that you archive an instance of SerialisationSize before any of the contents of the container.

Template Parameters
Tthe (probably numeric) type of the size value
See also
serialisztionSize()

@tags{Core}

Member Data Documentation

◆ size

template<typename T >
JUCE_COMPARISON_OPS T& juce::SerialisationSize< T >::size

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