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
11
class
SemVersionConstant
;
12
struct
SemVersionAnyVersionType
;
13
namespace
Json {
class
Value; }
14
// clang-format on
15
16
class
SemVersion
:
public
::SemVersionBase
<::Bedrock::StaticOptimizedString> {
17
public
:
18
// SemVersion inner types define
19
enum class
ParseOption :
int
{
20
AllowWildcards = 0,
21
NoWildcards = 1,
22
};
23
24
enum class
MatchType :
int
{
25
Full = 0,
26
Partial = 1,
27
None = 2,
28
};
29
30
public
:
31
// member functions
32
// NOLINTBEGIN
33
MCAPI
SemVersion
();
34
35
MCAPI
explicit
SemVersion
(
::SemVersionAnyVersionType
);
36
37
MCAPI
SemVersion
(
::SemVersion
const
&);
38
39
MCAPI
explicit
SemVersion
(
::SemVersionConstant
const
& other);
40
41
MCAPI
SemVersion
(
42
ushort major,
43
ushort minor,
44
ushort patch,
45
::Bedrock::StaticOptimizedString
preRelease,
46
::Bedrock::StaticOptimizedString
buildMeta
47
);
48
49
MCAPI ::SemVersion& operator=(
::SemVersion
const
&);
50
51
MCAPI ::SemVersion& operator=(
::SemVersion
&&);
52
53
MCAPI
~SemVersion
();
54
// NOLINTEND
55
56
public
:
57
// static functions
58
// NOLINTBEGIN
59
MCAPI static ::SemVersion::MatchType
60
fromJson(
::Json::Value
const
& json,
::SemVersion
& output, ::SemVersion::ParseOption parseOption);
61
62
MCAPI static ::SemVersion::MatchType fromJsonArray(
::Json::Value
const
& jsonArray,
::SemVersion
& output);
63
64
MCAPI static ::SemVersion::MatchType
65
fromString(::std::string
const
& src,
::SemVersion
& output, ::SemVersion::ParseOption parseOption);
66
// NOLINTEND
67
68
public
:
69
// constructor thunks
70
// NOLINTBEGIN
71
MCFOLD
void
* $ctor();
72
73
MCAPI
void
* $ctor(
::SemVersionAnyVersionType
);
74
75
MCAPI
void
* $ctor(
::SemVersion
const
&);
76
77
MCAPI
void
* $ctor(
::SemVersionConstant
const
& other);
78
79
MCAPI
void
* $ctor(
80
ushort major,
81
ushort minor,
82
ushort patch,
83
::Bedrock::StaticOptimizedString
preRelease,
84
::Bedrock::StaticOptimizedString
buildMeta
85
);
86
// NOLINTEND
87
88
public
:
89
// destructor thunk
90
// NOLINTBEGIN
91
MCFOLD
void
$dtor();
92
// NOLINTEND
93
};
Bedrock::StaticOptimizedString
Definition
StaticOptimizedString.h:7
Json::Value
Definition
Value.h:16
SemVersionBase
Definition
SemVersionBase.h:9
SemVersionConstant
Definition
SemVersionConstant.h:8
SemVersion
Definition
SemVersion.h:16
SemVersionAnyVersionType
Definition
SemVersionAnyVersionType.h:5
src
mc
deps
core
sem_ver
SemVersion.h
Generated on Wed Aug 27 2025 11:39:32 for LeviLamina by
1.12.0