MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / init_base_struct

Function init_base_struct

tests/unit-tests/dds/DCPS/Xcdr2ValueWriter.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28template <typename BaseStructType>
29void init_base_struct(BaseStructType& bst)
30{
31 bst.b_field = true;
32 bst.f_field = 1.0f;
33 bst.o_field = 0x01;
34}
35
36template <typename StructType>
37void init(StructType& st)

Callers 2

initFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected