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
8
// auto generated forward declare list
9
// clang-format off
10
class
SemVersionConstant
;
11
namespace
Bedrock {
class
StaticOptimizedString; }
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
// member functions
31
// NOLINTBEGIN
32
MCAPI
SemVersion
();
33
34
MCAPI
SemVersion
(
::SemVersion
const
&);
35
36
MCAPI
explicit
SemVersion
(
::SemVersionConstant
const
& other);
37
38
MCAPI
SemVersion
(ushort, ushort, ushort,
::Bedrock::StaticOptimizedString
,
::Bedrock::StaticOptimizedString
);
39
40
MCAPI ::SemVersion& operator=(
::SemVersion
const
&);
41
42
MCAPI
~SemVersion
();
43
// NOLINTEND
44
45
public
:
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
57
public
:
58
// constructor thunks
59
// NOLINTBEGIN
60
MCFOLD
void
* $ctor();
61
62
MCAPI
void
* $ctor(
::SemVersion
const
&);
63
64
MCAPI
void
* $ctor(
::SemVersionConstant
const
& other);
65
66
MCAPI
void
* $ctor(ushort, ushort, ushort,
::Bedrock::StaticOptimizedString
,
::Bedrock::StaticOptimizedString
);
67
// NOLINTEND
68
69
public
:
70
// destructor thunk
71
// NOLINTBEGIN
72
MCFOLD
void
$dtor();
73
// NOLINTEND
74
};
Bedrock::StaticOptimizedString
Definition
StaticOptimizedString.h:7
Json::Value
Definition
Value.h:16
SemVersionBase
Definition
SemVersionBase.h:6
SemVersionConstant
Definition
SemVersionConstant.h:8
SemVersion
Definition
SemVersion.h:15
src
mc
deps
core
sem_ver
SemVersion.h
Generated on Sat Apr 26 2025 05:55:25 for LeviLamina by
1.12.0