LeviLamina
Loading...
Searching...
No Matches
SemVersion.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/sem_ver/SemVersionBase.h"
7#include "mc/deps/core/string/StaticOptimizedString.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace Json { class Value; }
13// clang-format on
14
15class SemVersion : public ::SemVersionBase<::Bedrock::StaticOptimizedString> {
16public:
17 // SemVersion inner types define
18 enum class MatchType : int {
19 Full = 0,
20 Partial = 1,
21 None = 2,
22 };
23
24 enum class ParseOption : int {
25 AllowWildcards = 0,
26 NoWildcards = 1,
27 };
28
29public:
30 // prevent constructor by default
31 SemVersion& operator=(SemVersion const&);
32 SemVersion(SemVersion const&);
33 SemVersion();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI SemVersion(::SemVersion&&);
39
40 MCAPI explicit SemVersion(::SemVersionConstant const& other);
41
42 MCAPI ::SemVersion& operator=(::SemVersion&&);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::SemVersion::MatchType
49 fromJson(::Json::Value const& json, ::SemVersion& output, ::SemVersion::ParseOption parseOption);
50
51 MCAPI static ::SemVersion::MatchType fromJsonArray(::Json::Value const& jsonArray, ::SemVersion& output);
52
53 MCAPI static ::SemVersion::MatchType
54 fromString(::std::string const& src, ::SemVersion& output, ::SemVersion::ParseOption parseOption);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::SemVersion&&);
61
62 MCAPI void* $ctor(::SemVersionConstant const& other);
63 // NOLINTEND
64};
Definition Value.h:16
Definition SemVersionConstant.h:8