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
13namespace Json { class Value; }
14// clang-format on
15
16class SemVersion : public ::SemVersionBase<::Bedrock::StaticOptimizedString> {
17public:
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
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI SemVersion();
34
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,
47 );
48
49 MCAPI ::SemVersion& operator=(::SemVersion const&);
50
51 MCAPI ::SemVersion& operator=(::SemVersion&&);
52
53 MCAPI ~SemVersion();
54 // NOLINTEND
55
56public:
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
68public:
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,
85 );
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCFOLD void $dtor();
92 // NOLINTEND
93};
Definition StaticOptimizedString.h:7
Definition Value.h:16
Definition SemVersionBase.h:9
Definition SemVersionConstant.h:8
Definition SemVersion.h:16
Definition SemVersionAnyVersionType.h:5