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

Function bound_total

dds/DCPS/XTypes/Utils.cpp:1013–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1011}
1012
1013DDS::UInt32 bound_total(DDS::TypeDescriptor_var descriptor)
1014{
1015 DDS::UInt32 total = 1;
1016 const DDS::BoundSeq& bounds = descriptor->bound();
1017 for (DDS::UInt32 i = 0; i < bounds.length(); ++i) {
1018 total *= bounds[i];
1019 }
1020 return total;
1021}
1022
1023DDS::ReturnCode_t bitmask_bound(DDS::DynamicType_ptr type, DDS::TypeKind& bound_kind)
1024{

Callers 12

get_item_countMethod · 0.85
skip_to_array_elementMethod · 0.85
skip_array_memberMethod · 0.85
get_item_countMethod · 0.85
clear_valueMethod · 0.85

Calls 2

boundMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected