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

Method fbe_allocation_size

proto/protoex_final_models.cpp:23–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{}
22
23size_t FinalModel<::protoex::Order>::fbe_allocation_size(const ::protoex::Order& fbe_value) const noexcept
24{
25 size_t fbe_result = 0
26 + id.fbe_allocation_size(fbe_value.id)
27 + symbol.fbe_allocation_size(fbe_value.symbol)
28 + side.fbe_allocation_size(fbe_value.side)
29 + type.fbe_allocation_size(fbe_value.type)
30 + price.fbe_allocation_size(fbe_value.price)
31 + volume.fbe_allocation_size(fbe_value.volume)
32 + tp.fbe_allocation_size(fbe_value.tp)
33 + sl.fbe_allocation_size(fbe_value.sl)
34 ;
35 return fbe_result;
36}
37
38size_t FinalModel<::protoex::Order>::verify() const noexcept
39{

Callers 1

serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected