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

Classes

struct  State

Public Member Functions

virtual bool isValid () const
virtual::cereal::SchemaRWType expectedType () const
virtual ::Bedrock::Result< void > asNull ()
virtual ::Bedrock::Result< bool > asBool ()
virtual ::Bedrock::Result< schar > asInt8 ()
virtual ::Bedrock::Result< uchar > asUInt8 ()
virtual ::Bedrock::Result< short > asInt16 ()
virtual ::Bedrock::Result< ushort > asUInt16 ()
virtual ::Bedrock::Result< int > asInt32 ()
virtual ::Bedrock::Result< uint > asUInt32 ()
virtual ::Bedrock::Result< int64 > asInt64 ()
virtual ::Bedrock::Result< uint64 > asUInt64 ()
virtual ::Bedrock::Result< float > asFloat ()
virtual ::Bedrock::Result< double > asDouble ()
virtual ::Bedrock::Result<::std::string > asString (uint64 maxInputLength)
virtual ::Bedrock::Result< void > asRawBytes (::std::function<::gsl::span< uchar >(uint64)> storage, uint64 maxInputLength)
virtual ::std::optional< bool > additionalDataAsBool ()
virtual ::std::optional< uint > additionalDataAsUInt32 ()
virtual ::std::optional<::std::string > additionalDataAsString (uint64)
virtual uint64 members ()
virtual uint64 length (uint64 expectedSize)
virtual bool pushMember (::std::string_view const name)
virtual::std::string_view pushNextMember ()
virtual void pushElement (uint64 index)
virtual void pop ()
virtual bool _allowAsBool ()=0
virtual bool _allowAsInt8 ()=0
virtual bool _allowAsUInt8 ()=0
virtual bool _allowAsInt16 ()=0
virtual bool _allowAsUInt16 ()=0
virtual bool _allowAsInt32 ()=0
virtual bool _allowAsUInt32 ()=0
virtual bool _allowAsInt64 ()=0
virtual bool _allowAsUInt64 ()=0
virtual bool _allowAsFloat ()=0
virtual bool _allowAsDouble ()=0
MCAPI JSONCppSchemaReaderBase (::std::string_view data)
MCAPI JSONCppSchemaReaderBase (::std::reference_wrapper<::Json::Value const > value)
MCAPI void * $ctor (::std::string_view data)
MCAPI void * $ctor (::std::reference_wrapper<::Json::Value const > value)
MCAPI void $dtor ()
MCAPI bool $isValid () const
MCAPI::cereal::SchemaRWType $expectedType () const
MCAPI ::Bedrock::Result< void > $asNull ()
MCAPI ::Bedrock::Result< bool > $asBool ()
MCAPI ::Bedrock::Result< schar > $asInt8 ()
MCAPI ::Bedrock::Result< uchar > $asUInt8 ()
MCAPI ::Bedrock::Result< short > $asInt16 ()
MCAPI ::Bedrock::Result< ushort > $asUInt16 ()
MCAPI ::Bedrock::Result< int > $asInt32 ()
MCAPI ::Bedrock::Result< uint > $asUInt32 ()
MCAPI ::Bedrock::Result< int64 > $asInt64 ()
MCAPI ::Bedrock::Result< uint64 > $asUInt64 ()
MCAPI ::Bedrock::Result< float > $asFloat ()
MCAPI ::Bedrock::Result< double > $asDouble ()
MCAPI ::Bedrock::Result<::std::string > $asString (uint64 maxInputLength)
MCAPI ::Bedrock::Result< void > $asRawBytes (::std::function<::gsl::span< uchar >(uint64)> storage, uint64 maxInputLength)
MCAPI ::std::optional< bool > $additionalDataAsBool ()
MCAPI ::std::optional< uint > $additionalDataAsUInt32 ()
MCAPI ::std::optional<::std::string > $additionalDataAsString (uint64)
MCAPI uint64 $members ()
MCAPI uint64 $length (uint64 expectedSize)
MCAPI bool $pushMember (::std::string_view const name)
MCAPI::std::string_view $pushNextMember ()
MCAPI void $pushElement (uint64 index)
MCAPI void $pop ()
virtual ::std::optional<::cereal::ResultCode > inputError () const
virtual ::std::optional< uint64 > remainingInputBytes () const
MCAPI ::std::optional<::cereal::ResultCode > $inputError () const
MCAPI ::std::optional< uint64 > $remainingInputBytes () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::cereal::JSONCppSchemaReaderBase::State > > mState
::ll::TypedStorage< 8, 16, ::Json::Value > mValue
::ll::TypedStorage< 1, 1, ::cereal::SerializationTraits > mSerializationTraitsOverride
::ll::TypedStorage< 1, 1, ::cereal::SerializationTraits > mSerializationTraits

Constructor & Destructor Documentation

◆ JSONCppSchemaReaderBase() [1/2]

MCAPI cereal::JSONCppSchemaReaderBase::JSONCppSchemaReaderBase ( ::std::string_view data)
explicit
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.

◆ JSONCppSchemaReaderBase() [2/2]

MCAPI cereal::JSONCppSchemaReaderBase::JSONCppSchemaReaderBase ( ::std::reference_wrapper<::Json::Value const > value)
explicit
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.

Member Function Documentation

◆ isValid()

virtual bool cereal::JSONCppSchemaReaderBase::isValid ( ) const
virtual

Implements cereal::SchemaReader.

◆ expectedType()

virtual::cereal::SchemaRWType cereal::JSONCppSchemaReaderBase::expectedType ( ) const
virtual

Implements cereal::SchemaReader.

◆ asNull()

virtual ::Bedrock::Result< void > cereal::JSONCppSchemaReaderBase::asNull ( )
virtual

Implements cereal::SchemaReader.

◆ asBool()

virtual ::Bedrock::Result< bool > cereal::JSONCppSchemaReaderBase::asBool ( )
virtual

Implements cereal::SchemaReader.

◆ asInt8()

virtual ::Bedrock::Result< schar > cereal::JSONCppSchemaReaderBase::asInt8 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt8()

virtual ::Bedrock::Result< uchar > cereal::JSONCppSchemaReaderBase::asUInt8 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt16()

virtual ::Bedrock::Result< short > cereal::JSONCppSchemaReaderBase::asInt16 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt16()

virtual ::Bedrock::Result< ushort > cereal::JSONCppSchemaReaderBase::asUInt16 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt32()

virtual ::Bedrock::Result< int > cereal::JSONCppSchemaReaderBase::asInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt32()

virtual ::Bedrock::Result< uint > cereal::JSONCppSchemaReaderBase::asUInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt64()

virtual ::Bedrock::Result< int64 > cereal::JSONCppSchemaReaderBase::asInt64 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt64()

virtual ::Bedrock::Result< uint64 > cereal::JSONCppSchemaReaderBase::asUInt64 ( )
virtual

Implements cereal::SchemaReader.

◆ asFloat()

virtual ::Bedrock::Result< float > cereal::JSONCppSchemaReaderBase::asFloat ( )
virtual

Implements cereal::SchemaReader.

◆ asDouble()

virtual ::Bedrock::Result< double > cereal::JSONCppSchemaReaderBase::asDouble ( )
virtual

Implements cereal::SchemaReader.

◆ asString()

virtual ::Bedrock::Result<::std::string > cereal::JSONCppSchemaReaderBase::asString ( uint64 maxInputLength)
virtual

Implements cereal::SchemaReader.

◆ asRawBytes()

virtual ::Bedrock::Result< void > cereal::JSONCppSchemaReaderBase::asRawBytes ( ::std::function<::gsl::span< uchar >(uint64)> storage,
uint64 maxInputLength )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsBool()

virtual ::std::optional< bool > cereal::JSONCppSchemaReaderBase::additionalDataAsBool ( )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsUInt32()

virtual ::std::optional< uint > cereal::JSONCppSchemaReaderBase::additionalDataAsUInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsString()

virtual ::std::optional<::std::string > cereal::JSONCppSchemaReaderBase::additionalDataAsString ( uint64 )
virtual

Implements cereal::SchemaReader.

◆ members()

virtual uint64 cereal::JSONCppSchemaReaderBase::members ( )
virtual

Implements cereal::SchemaReader.

◆ length()

virtual uint64 cereal::JSONCppSchemaReaderBase::length ( uint64 expectedSize)
virtual

Implements cereal::SchemaReader.

◆ pushMember()

virtual bool cereal::JSONCppSchemaReaderBase::pushMember ( ::std::string_view const name)
virtual

Implements cereal::SchemaReader.

◆ pushNextMember()

virtual::std::string_view cereal::JSONCppSchemaReaderBase::pushNextMember ( )
virtual

Implements cereal::SchemaReader.

◆ pushElement()

virtual void cereal::JSONCppSchemaReaderBase::pushElement ( uint64 index)
virtual

Implements cereal::SchemaReader.

◆ pop()

virtual void cereal::JSONCppSchemaReaderBase::pop ( )
virtual

Implements cereal::SchemaReader.

◆ $ctor() [1/2]

MCAPI void * cereal::JSONCppSchemaReaderBase::$ctor ( ::std::string_view data)
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.

◆ $ctor() [2/2]

MCAPI void * cereal::JSONCppSchemaReaderBase::$ctor ( ::std::reference_wrapper<::Json::Value const > value)
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::JSONCppSchemaReaderBase::$dtor ( )
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.

◆ $isValid()

MCAPI bool cereal::JSONCppSchemaReaderBase::$isValid ( ) const
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.

◆ $expectedType()

MCAPI::cereal::SchemaRWType cereal::JSONCppSchemaReaderBase::$expectedType ( ) const
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.

◆ $asNull()

MCAPI ::Bedrock::Result< void > cereal::JSONCppSchemaReaderBase::$asNull ( )
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.

◆ $asBool()

MCAPI ::Bedrock::Result< bool > cereal::JSONCppSchemaReaderBase::$asBool ( )
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.

◆ $asInt8()

MCAPI ::Bedrock::Result< schar > cereal::JSONCppSchemaReaderBase::$asInt8 ( )
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.

◆ $asUInt8()

MCAPI ::Bedrock::Result< uchar > cereal::JSONCppSchemaReaderBase::$asUInt8 ( )
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.

◆ $asInt16()

MCAPI ::Bedrock::Result< short > cereal::JSONCppSchemaReaderBase::$asInt16 ( )
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.

◆ $asUInt16()

MCAPI ::Bedrock::Result< ushort > cereal::JSONCppSchemaReaderBase::$asUInt16 ( )
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.

◆ $asInt32()

MCAPI ::Bedrock::Result< int > cereal::JSONCppSchemaReaderBase::$asInt32 ( )
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.

◆ $asUInt32()

MCAPI ::Bedrock::Result< uint > cereal::JSONCppSchemaReaderBase::$asUInt32 ( )
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.

◆ $asInt64()

MCAPI ::Bedrock::Result< int64 > cereal::JSONCppSchemaReaderBase::$asInt64 ( )
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.

◆ $asUInt64()

MCAPI ::Bedrock::Result< uint64 > cereal::JSONCppSchemaReaderBase::$asUInt64 ( )
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.

◆ $asFloat()

MCAPI ::Bedrock::Result< float > cereal::JSONCppSchemaReaderBase::$asFloat ( )
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.

◆ $asDouble()

MCAPI ::Bedrock::Result< double > cereal::JSONCppSchemaReaderBase::$asDouble ( )
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.

◆ $asString()

MCAPI ::Bedrock::Result<::std::string > cereal::JSONCppSchemaReaderBase::$asString ( uint64 maxInputLength)
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.

◆ $asRawBytes()

MCAPI ::Bedrock::Result< void > cereal::JSONCppSchemaReaderBase::$asRawBytes ( ::std::function<::gsl::span< uchar >(uint64)> storage,
uint64 maxInputLength )
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.

◆ $additionalDataAsBool()

MCAPI ::std::optional< bool > cereal::JSONCppSchemaReaderBase::$additionalDataAsBool ( )
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.

◆ $additionalDataAsUInt32()

MCAPI ::std::optional< uint > cereal::JSONCppSchemaReaderBase::$additionalDataAsUInt32 ( )
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.

◆ $additionalDataAsString()

MCAPI ::std::optional<::std::string > cereal::JSONCppSchemaReaderBase::$additionalDataAsString ( uint64 )
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.

◆ $members()

MCAPI uint64 cereal::JSONCppSchemaReaderBase::$members ( )
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.

◆ $length()

MCAPI uint64 cereal::JSONCppSchemaReaderBase::$length ( uint64 expectedSize)
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.

◆ $pushMember()

MCAPI bool cereal::JSONCppSchemaReaderBase::$pushMember ( ::std::string_view const name)
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.

◆ $pushNextMember()

MCAPI::std::string_view cereal::JSONCppSchemaReaderBase::$pushNextMember ( )
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.

◆ $pushElement()

MCAPI void cereal::JSONCppSchemaReaderBase::$pushElement ( uint64 index)
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.

◆ $pop()

MCAPI void cereal::JSONCppSchemaReaderBase::$pop ( )
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.

◆ $vftable()

MCAPI void ** cereal::JSONCppSchemaReaderBase::$vftable ( )
static
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.

◆ $inputError()

MCAPI ::std::optional<::cereal::ResultCode > cereal::SchemaReader::$inputError ( ) 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.

◆ $remainingInputBytes()

MCAPI ::std::optional< uint64 > cereal::SchemaReader::$remainingInputBytes ( ) 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.

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