LeviLamina
Loading...
Searching...
No Matches
SemVersionConstraint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ConstraintHandle.h"
7#include "mc/deps/cereal/ContextArea.h"
8#include "mc/deps/core/sem_ver/SemVersion.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cereal { class SerializerContext; }
13namespace cereal::internal { struct ConstraintDescription; }
14// clang-format on
15
16namespace SharedTypes {
17
18class SemVersionConstraint : public ::cereal::ConstraintHandle<::SharedTypes::SemVersionConstraint> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::optional<::SemVersion>> mMin;
23 ::ll::TypedStorage<8, 32, ::std::optional<::SemVersion>> mMax;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 SemVersionConstraint& operator=(SemVersionConstraint const&);
29 SemVersionConstraint();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI SemVersionConstraint(::SharedTypes::SemVersionConstraint const&);
35
36 MCAPI ::cereal::internal::ConstraintDescription description(::cereal::ContextArea) const;
37
38 MCAPI ::SharedTypes::SemVersionConstraint& range(::SemVersion const& min, ::SemVersion const& max);
39
40 MCAPI void validateValue(::SemVersion const& vers, ::cereal::SerializerContext& context) const;
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::SharedTypes::SemVersionConstraint const&);
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
55
56} // namespace SharedTypes
Definition SemVersion.h:15
Definition SemVersionConstraint.h:18
static MCAPI void ** $vftable()
Definition ConstraintHandle.h:8
Definition SerializerContext.h:17
Definition ConstraintDescription.h:7
Definition context.h:5