MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / StructSimple

Method StructSimple

proto/test.cpp:136–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136StructSimple::StructSimple()
137 : id((int32_t)0ll)
138 , f1(false)
139 , f2(true)
140 , f3((uint8_t)0u)
141 , f4((uint8_t)255u)
142 , f5('\0')
143 , f6((char)'!')
144 , f7(L'\0')
145 , f8((wchar_t)0x0444)
146 , f9((int8_t)0)
147 , f10((int8_t)127)
148 , f11((uint8_t)0u)
149 , f12((uint8_t)255u)
150 , f13((int16_t)0)
151 , f14((int16_t)32767)
152 , f15((uint16_t)0u)
153 , f16((uint16_t)65535u)
154 , f17((int32_t)0ll)
155 , f18((int32_t)2147483647ll)
156 , f19((uint32_t)0ull)
157 , f20((uint32_t)4294967295ull)
158 , f21((int64_t)0ll)
159 , f22((int64_t)9223372036854775807ll)
160 , f23((uint64_t)0ull)
161 , f24((uint64_t)18446744073709551615ull)
162 , f25(0.0f)
163 , f26((float)123.456f)
164 , f27(0.0)
165 , f28((double)-123.456e+123)
166 , f29()
167 , f30(FBE::decimal_t(123456.123456))
168 , f31()
169 , f32("Initial string!")
170 , f33((uint64_t)0ull)
171 , f34(FBE::epoch())
172 , f35(FBE::utc())
173 , f36()
174 , f37(FBE::uuid_t::sequential())
175 , f38(FBE::uuid_t("123e4567-e89b-12d3-a456-426655440000"))
176 , f39()
177 , f40()
178 , f41()
179 , f42()
180 , f43()
181 , f44()
182{}
183
184StructSimple::StructSimple(int32_t arg_id, bool arg_f1, bool arg_f2, uint8_t arg_f3, uint8_t arg_f4, char arg_f5, char arg_f6, wchar_t arg_f7, wchar_t arg_f8, int8_t arg_f9, int8_t arg_f10, uint8_t arg_f11, uint8_t arg_f12, int16_t arg_f13, int16_t arg_f14, uint16_t arg_f15, uint16_t arg_f16, int32_t arg_f17, int32_t arg_f18, uint32_t arg_f19, uint32_t arg_f20, int64_t arg_f21, int64_t arg_f22, uint64_t arg_f23, uint64_t arg_f24, float arg_f25, float arg_f26, double arg_f27, double arg_f28, const FBE::decimal_t& arg_f29, const FBE::decimal_t& arg_f30, const std::string& arg_f31, const std::string& arg_f32, uint64_t arg_f33, uint64_t arg_f34, uint64_t arg_f35, const FBE::uuid_t& arg_f36, const FBE::uuid_t& arg_f37, const FBE::uuid_t& arg_f38, const ::proto::OrderSide& arg_f39, const ::proto::OrderType& arg_f40, const ::proto::Order& arg_f41, const ::proto::Balance& arg_f42, const ::proto::State& arg_f43, const ::proto::Account& arg_f44)
185 : id(arg_id)

Callers

nothing calls this directly

Calls 4

decimal_tClass · 0.85
uuid_tClass · 0.85
epochFunction · 0.70
utcFunction · 0.70

Tested by

no test coverage detected