Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
template <typename BaseStructType>
29
void init_base_struct(BaseStructType& bst)
30
{
31
bst.b_field = true;
32
bst.f_field = 1.0f;
33
bst.o_field = 0x01;
34
}
35
36
template <typename StructType>
37
void init(StructType& st)
Callers
2
init
Function · 0.85
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected