Remote Call Framework 3.4
Serializer.hpp File Reference
#include <RCF/Exception.hpp>
#include <RCF/Export.hpp>
#include <RCF/MemStream.hpp>
#include <RCF/TypeTraits.hpp>
#include <SF/Archive.hpp>
#include <SF/I_Stream.hpp>
#include <SF/SerializeFundamental.hpp>
#include <SF/SfNew.hpp>
#include <RCF/Tools.hpp>
#include <SF/Registry.hpp>
#include <SF/SerializePolymorphic.hpp>
#include <SF/Stream.hpp>

Go to the source code of this file.

Macros

#define SF_SERIALIZE_ENUM_CLASS(EnumType, BaseType)
 Instructs RCF to serialize enum class EnumType, as a BaseType object. More...
 

Macro Definition Documentation

◆ SF_SERIALIZE_ENUM_CLASS

#define SF_SERIALIZE_ENUM_CLASS (   EnumType,
  BaseType 
)
Value:
void serialize(SF::Archive & ar, EnumType & e) \
{ \
SF::serializeAs<EnumType, BaseType>(ar, e); \
}
Represents an archive, in which serialized objects are stored.
Definition: Archive.hpp:31

Instructs RCF to serialize enum class EnumType, as a BaseType object.