LeviLamina
Loading...
Searching...
No Matches
ExperimentStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class ExperimentStorage {
6public:
7 // ExperimentStorage inner types define
8 using ExperimentData = ::std::vector<bool>;
9
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<8, 32, ::std::vector<bool>> mExperimentData;
14 ::ll::TypedStorage<8, 32, ::std::vector<bool>> mDeprecatedData;
15 ::ll::TypedStorage<1, 1, bool> mExperimentsEverToggled;
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 ExperimentStorage& operator=(ExperimentStorage const&);
21 ExperimentStorage();
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCNAPI ExperimentStorage(::ExperimentStorage const&);
27
28 MCNAPI bool isAnyToggleEnabled() const;
29
30 MCNAPI ::ExperimentStorage& operator=(::ExperimentStorage&&);
31
32#ifdef LL_PLAT_C
33 MCNAPI bool sameActiveExperimentsAreEnabled(::ExperimentStorage const& other) const;
34
35 MCNAPI bool wereAnyExperimentsEverToggled() const;
36#endif
37
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCNAPI void* $ctor(::ExperimentStorage const&);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI void $dtor();
51 // NOLINTEND
52};
MCAPI void * $ctor(::ExperimentStorage const &)
MCAPI ExperimentStorage(::ExperimentStorage const &)
MCAPI void $dtor()
MCAPI ~ExperimentStorage()
MCAPI::ExperimentStorage & operator=(::ExperimentStorage &&)
MCAPI bool isAnyToggleEnabled() const