CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::SerializationStateObject< T > Struct Template Reference

Scope object that pushes an object to the SerializationState. More...

#include <CeresEngine/Serialization/Serialization.hpp>

Public Member Functions

 SerializationStateObject (SerializationState &state, T &object)
 
 ~SerializationStateObject ()
 Pops the object from the state.
 

Public Attributes

SerializationStatestate
 The serialization state the object was pushed to.
 

Detailed Description

template<typename T>
struct CeresEngine::SerializationStateObject< T >

Scope object that pushes an object to the SerializationState.

Constructor & Destructor Documentation

◆ SerializationStateObject()

template<typename T >
CeresEngine::SerializationStateObject< T >::SerializationStateObject ( SerializationState state,
T object 
)
inline
Parameters
stateThe serialization state to push the object to.
objectThe object to be pushed.

◆ ~SerializationStateObject()

Pops the object from the state.

Member Data Documentation

◆ state

The serialization state the object was pushed to.


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