Line data Source code
1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 :
7 : #include "mozilla/ProfilerTypes.h"
8 :
9 :
10 : //-----------------------------------------------------------------------------
11 : // Method definitions for the IPDL type |struct ProfilerInitParams|
12 : //
13 : namespace mozilla {
14 0 : MOZ_IMPLICIT ProfilerInitParams::ProfilerInitParams() :
15 : enabled_(),
16 : entries_(),
17 : interval_(),
18 0 : features_()
19 : {
20 0 : Init();
21 0 : }
22 :
23 0 : ProfilerInitParams::~ProfilerInitParams()
24 : {
25 0 : }
26 :
27 0 : auto ProfilerInitParams::operator==(const ProfilerInitParams& _o) const -> bool
28 : {
29 0 : if ((!((enabled()) == ((_o).enabled())))) {
30 0 : return false;
31 : }
32 0 : if ((!((entries()) == ((_o).entries())))) {
33 0 : return false;
34 : }
35 0 : if ((!((interval()) == ((_o).interval())))) {
36 0 : return false;
37 : }
38 0 : if ((!((features()) == ((_o).features())))) {
39 0 : return false;
40 : }
41 0 : if ((!((filters()) == ((_o).filters())))) {
42 0 : return false;
43 : }
44 0 : return true;
45 : }
46 :
47 0 : auto ProfilerInitParams::operator!=(const ProfilerInitParams& _o) const -> bool
48 : {
49 0 : return (!(operator==(_o)));
50 : }
51 :
52 0 : auto ProfilerInitParams::Init() -> void
53 : {
54 0 : }
55 :
56 0 : auto ProfilerInitParams::Assign(
57 : const bool& _enabled,
58 : const uint32_t& _entries,
59 : const double& _interval,
60 : const uint32_t& _features,
61 : const nsTArray<nsCString>& _filters) -> void
62 : {
63 0 : enabled_ = _enabled;
64 0 : entries_ = _entries;
65 0 : interval_ = _interval;
66 0 : features_ = _features;
67 0 : filters_ = _filters;
68 0 : }
69 :
70 : } // namespace mozilla
|