LeviLamina
Loading...
Searching...
No Matches
StringConstraint.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
9// auto generated forward declare list
10// clang-format off
11namespace cereal { class SerializerContext; }
12namespace cereal::internal { struct ConstraintDescription; }
13// clang-format on
14
15namespace cereal {
16
17class StringConstraint : public ::cereal::ConstraintHandle<::cereal::StringConstraint> {
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 StringConstraint& operator=(StringConstraint const&);
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~StringConstraint() /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
38
40
42
43 MCNAPI ::cereal::internal::ConstraintDescription description(::cereal::ContextArea req) const;
44
45 MCNAPI ::cereal::StringConstraint& regex(::std::string str, ::std::regex_constants::syntax_option_type flag);
46
47 MCNAPI void validateValue(::std::string const& str, ::cereal::SerializerContext& context) const;
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCNAPI static ::std::string flagsToString(::std::regex_constants::syntax_option_type flags);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor();
60
62
63 MCNAPI void* $ctor(::cereal::StringConstraint const&);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCNAPI void $dtor();
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
78
79} // namespace cereal
Definition ConstraintHandle.h:8
Definition SerializerContext.h:11
Definition StringConstraint.h:17
MCAPI::cereal::internal::ConstraintDescription description(::cereal::ContextArea req) const
MCAPI void * $ctor(::cereal::StringConstraint const &)
MCAPI void * $ctor(::cereal::StringConstraint &&)
MCAPI::cereal::StringConstraint & regex(::std::string str, ::std::regex_constants::syntax_option_type flag)
MCAPI void validateValue(::std::string const &str, ::cereal::SerializerContext &context) const
static MCAPI void ** $vftable()
MCAPI StringConstraint(::cereal::StringConstraint &&)
static MCAPI ::std::string flagsToString(::std::regex_constants::syntax_option_type flags)
MCAPI StringConstraint(::cereal::StringConstraint const &)
Definition ConstraintDescription.h:7
Definition context.h:5
Definition Alias.h:14