Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
cereal::SerializerContext Class Reference
Inheritance diagram for cereal::SerializerContext:

Classes

struct  ScopedPop

Public Types

enum class  ContextType : int { ArrayElem = 0 , Member = 1 , Root = 2 }

Public Member Functions

MCAPI void clearGenerations (uint from, uint to, ::cereal::ResultCode filter)
MCAPI void log (::cereal::ResultCode res, ::Bedrock::StaticOptimizedString msg)
MCAPI void popContext ()
MCAPI::cereal::SerializerContext & pushContext (uint containerIndex)
MCAPI::cereal::SerializerContext & pushContext (::Bedrock::StaticOptimizedString propertyName, ::std::optional< uint > propertyId)
MCAPI::std::string _getContextString (uint index) const
MCAPI ::std::vector<::cereal::BasicSerializerContext::Context > contextFor (::cereal::BasicSerializerContext::LogEntry const &entry) const
MCAPI ::std::vector<::std::string > errors () const
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 4, uint > mGeneration
::ll::TypedStorage< 4, 4, uint > mLastError
::ll::TypedStorage< 4, 4, uint > mCurrentIndex
::ll::TypedStorage< 8, 272, ::Bedrock::small_vector<::cereal::BasicSerializerContext::Context, 8 > > mStack
::ll::TypedStorage< 8, 400, ::Bedrock::small_vector<::cereal::BasicSerializerContext::LogEntry, 8 > > mLog
::ll::TypedStorage< 2, 2, ::cereal::ResultCode > mErrorCodes
::ll::TypedStorage< 1, 1, ::cereal::ContextArea > mContextArea

Member Function Documentation

◆ clearGenerations()

MCAPI void cereal::SerializerContext::clearGenerations ( uint from,
uint to,
::cereal::ResultCode filter )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ log()

MCAPI void cereal::SerializerContext::log ( ::cereal::ResultCode res,
::Bedrock::StaticOptimizedString msg )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ popContext()

MCAPI void cereal::SerializerContext::popContext ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pushContext() [1/2]

MCAPI::cereal::SerializerContext & cereal::SerializerContext::pushContext ( uint containerIndex)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pushContext() [2/2]

MCAPI::cereal::SerializerContext & cereal::SerializerContext::pushContext ( ::Bedrock::StaticOptimizedString propertyName,
::std::optional< uint > propertyId )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getContextString()

MCAPI::std::string cereal::BasicSerializerContext::_getContextString ( uint index) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ contextFor()

MCAPI ::std::vector<::cereal::BasicSerializerContext::Context > cereal::BasicSerializerContext::contextFor ( ::cereal::BasicSerializerContext::LogEntry const & entry) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ errors()

MCAPI ::std::vector<::std::string > cereal::BasicSerializerContext::errors ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void cereal::BasicSerializerContext::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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