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
11namespace Bedrock { class StaticOptimizedString; }
12namespace Json { class Value; }
13// clang-format on
14
15class SemVersion : public ::SemVersionBase<::Bedrock::StaticOptimizedString> {
16public:
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
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI SemVersion();
33
34 MCAPI SemVersion(::SemVersion const&);
35
36 MCAPI explicit SemVersion(::SemVersionConstant const& other);
37
39
40 MCAPI ::SemVersion& operator=(::SemVersion const&);
41
42 MCAPI ~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 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
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCFOLD void $dtor();
73 // NOLINTEND
74};
Definition StaticOptimizedString.h:7
Definition Value.h:16
Definition SemVersionBase.h:6
Definition SemVersionConstant.h:8
Definition SemVersion.h:15