|
| enum class | ParseAndUpgradeResult : int { Failure = 0
, SuccessWithChanges = 1
, SuccessWithoutChanges = 2
} |
|
|
CerealDocumentUpgrader & | operator= (CerealDocumentUpgrader const &) |
|
| CerealDocumentUpgrader (CerealDocumentUpgrader const &) |
| MCAPI | CerealDocumentUpgrader (::SemVersion terminus) |
| MCAPI void | clear () |
| MCAPI::CerealDocumentUpgrader::ParseAndUpgradeResult | parseJsonAndUpgrade (::SemVersion &outDocumentVersion, ::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > &document, ::std::string const &json, ::Core::Path const &resourceName, bool allowMissingVersionAsZero, bool betaApis, ::std::optional<::SemVersion > const &minVersion) const |
| MCAPI bool | parseUpgradeAndStringifyJsonString (::std::string &json, ::SemVersion &outDocumentVersion, ::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > &document, ::Core::Path const &resourceName, bool betaApis, ::std::optional<::SemVersion > const &minVersion) const |
| MCAPI void | registerUpgrade (::std::shared_ptr<::CerealSchemaUpgrade > upgrade) |
| MCAPI::CerealDocumentUpgrader::ParseAndUpgradeResult | upgradeJsonDocument (::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > &document, ::SemVersion const &documentVersion) const |
| MCAPI void * | $ctor (::SemVersion terminus) |
|
| static MCAPI ::std::string | getVersion (::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > const &document) |
| static MCAPI ::std::pair< ::SemVersion, ::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > > | parseDocument (::std::string_view json, bool allowMissingVersionAsZero, bool logRapidjsonErrors) |
| static MCAPI ::rapidjson::GenericStringBuffer<::rapidjson::UTF8< char >, ::rapidjson::CrtAllocator > | stringify (::rapidjson::GenericValue< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator > > const &document) |
| static MCAPI bool | validateParsedVersion (::SemVersion const &documentVersion, ::std::optional<::SemVersion > const &minVersion, bool betaApis) |
◆ CerealDocumentUpgrader()
| MCAPI CerealDocumentUpgrader::CerealDocumentUpgrader |
( |
::SemVersion | terminus | ) |
|
|
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.
◆ clear()
| MCAPI void CerealDocumentUpgrader::clear |
( |
| ) |
|
- 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.
◆ parseJsonAndUpgrade()
| MCAPI::CerealDocumentUpgrader::ParseAndUpgradeResult CerealDocumentUpgrader::parseJsonAndUpgrade |
( |
::SemVersion & | outDocumentVersion, |
|
|
::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > & | document, |
|
|
::std::string const & | json, |
|
|
::Core::Path const & | resourceName, |
|
|
bool | allowMissingVersionAsZero, |
|
|
bool | betaApis, |
|
|
::std::optional<::SemVersion > const & | minVersion ) 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.
◆ parseUpgradeAndStringifyJsonString()
| MCAPI bool CerealDocumentUpgrader::parseUpgradeAndStringifyJsonString |
( |
::std::string & | json, |
|
|
::SemVersion & | outDocumentVersion, |
|
|
::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > & | document, |
|
|
::Core::Path const & | resourceName, |
|
|
bool | betaApis, |
|
|
::std::optional<::SemVersion > const & | minVersion ) 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.
◆ registerUpgrade()
- 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.
◆ upgradeJsonDocument()
| MCAPI::CerealDocumentUpgrader::ParseAndUpgradeResult CerealDocumentUpgrader::upgradeJsonDocument |
( |
::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > & | document, |
|
|
::SemVersion const & | documentVersion ) 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.
◆ getVersion()
| MCAPI ::std::string CerealDocumentUpgrader::getVersion |
( |
::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > const & | document | ) |
|
|
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.
◆ parseDocument()
| MCAPI ::std::pair< ::SemVersion, ::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > > CerealDocumentUpgrader::parseDocument |
( |
::std::string_view | json, |
|
|
bool | allowMissingVersionAsZero, |
|
|
bool | logRapidjsonErrors ) |
|
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.
◆ stringify()
| MCAPI ::rapidjson::GenericStringBuffer<::rapidjson::UTF8< char >, ::rapidjson::CrtAllocator > CerealDocumentUpgrader::stringify |
( |
::rapidjson::GenericValue< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator > > const & | document | ) |
|
|
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.
◆ validateParsedVersion()
| MCAPI bool CerealDocumentUpgrader::validateParsedVersion |
( |
::SemVersion const & | documentVersion, |
|
|
::std::optional<::SemVersion > const & | minVersion, |
|
|
bool | betaApis ) |
|
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.
◆ $ctor()
| MCAPI void * CerealDocumentUpgrader::$ctor |
( |
::SemVersion | terminus | ) |
|
- 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: