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

Function array_element_count

dds/idl/dds_generator.h:1240–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238};
1239
1240inline
1241ACE_CDR::ULong array_element_count(AST_Array* arr)
1242{
1243 ACE_CDR::ULong count = 1;
1244 for (ACE_CDR::ULong i = 0; i < arr->n_dims(); ++i) {
1245 count *= arr->dims()[i]->ev()->u.ulval;
1246 }
1247 return count;
1248}
1249
1250inline
1251ACE_CDR::ULong container_element_limit(AST_Type* type)

Callers 8

generate_anon_fieldsMethod · 0.85
gen_typedefMethod · 0.85
container_element_limitFunction · 0.85
array_dimsFunction · 0.85
gen_array_iFunction · 0.85
idl_max_serialized_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected