|
CeresEngine 0.2.0
A game development framework
|
A class that represents state for a deserializer. More...
#include <CeresEngine/Serialization/Deserializer.hpp>
Public Attributes | |
| HashMap< SerializedObjectID, Box > | deserializedObjects |
| A map of deserialized objects. | |
Additional Inherited Members | |
Public Member Functions inherited from CeresEngine::SerializationState | |
| virtual | ~SerializationState () noexcept=default |
| virtual bool | isSerializerState () const noexcept |
| Checks if the state represents a serializer state. | |
| virtual bool | isDeserializerState () const noexcept |
| Checks if the state represents a deserializer state. | |
| template<typename T , typename... Args> | |
| T & | pushObjectValue (Args &&... args) |
| Pushes a new object value to the state. | |
| template<typename T > | |
| T & | pushObject (T &object) |
| Pushes a new object value to the state. | |
| template<typename T > | |
| T & | getObject () |
| Gets an object from tge state. | |
| template<typename T > | |
| const T & | getObject () const |
| Gets an object from tge state. | |
| template<typename T > | |
| T * | getObjectIf () |
| Gets an object from tge state. | |
| template<typename T > | |
| const T * | getObjectIf () const |
| Gets an object from tge state. | |
| template<typename T > | |
| void | popObject () |
| Pops an object value from the state. | |
A class that represents state for a deserializer.
| HashMap<SerializedObjectID, Box> CeresEngine::DeserializerState::deserializedObjects |
A map of deserialized objects.
Used to keep a reference for pointer and references.