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