LeviLamina
Loading...
Searching...
No Matches
UiExpression.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ExprToken;
8class UIPropertyBag;
9namespace Json { class Value; }
10// clang-format on
11
12class UiExpression {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<8, 24, ::std::vector<::ExprToken>> mTokens;
17 ::ll::TypedStorage<1, 1, bool> mIsStatic;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 UiExpression& operator=(UiExpression const&);
23 UiExpression(UiExpression const&);
24 UiExpression();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI void addToken(::ExprToken tok);
30
31 MCAPI ::Json::Value evaluate(::UIPropertyBag* bag) const;
32
33 MCAPI uint64 forEachPropertyName(::std::function<void(::std::string const&)> callback) const;
34
35 MCAPI uint64 forEachPropertyToken(::std::function<void(::ExprToken&)> callback);
36
37 MCAPI ::UiExpression& operator=(::UiExpression&&);
38
39 MCAPI ~UiExpression();
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCAPI void $dtor();
46 // NOLINTEND
47};
Definition ExprToken.h:5
Definition Value.h:16
Definition UIPropertyBag.h:5
Definition UiExpression.h:5