LeviLamina
Loading...
Searching...
No Matches
Measurement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Json { class Value; }
8// clang-format on
9
10namespace Social::Events {
11
12class Measurement {
13public:
14 // Measurement inner types define
15 enum class AggregationType : int {
16 Increment = 0,
17 Sum = 1,
18 Min = 2,
19 Max = 3,
20 Average = 4,
21 Latest = 5,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 Measurement& operator=(Measurement const&);
36 Measurement(Measurement const&);
37 Measurement();
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI ::Json::Value getValue() const;
43
44 MCNAPI void updateMeasurement(::Social::Events::Measurement const& newMeasure);
45
46 MCNAPI ~Measurement();
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54};
55
56} // namespace Social::Events
Definition Value.h:16
Definition Measurement.h:12
MCAPI void updateMeasurement(::Social::Events::Measurement const &newMeasure)
MCAPI::Json::Value getValue() const
Definition Alias.h:14