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

Method gen_native

java/idl2jni/codegen/im_java.cpp:825–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825bool idl_mapping_java::gen_native(UTL_ScopedName *name, const char *repoid)
826{
827 JavaName jn(name);
828
829 if (idl_global->dcps_support_zero_copy_read()
830 && jn.clazz_.substr(jn.clazz_.size() - 3) == "Seq") {
831 string held = jn.clazz_.substr(0, jn.clazz_.size() - 3) + "[]";
832 return gen_helper(jn, repoid) && gen_holder(jn, held.c_str());
833 }
834
835 return true;
836}
837
838namespace {
839void writeUnionDefaultValue(ostream &os, AST_Expression::ExprType udisc_type,

Callers

nothing calls this directly

Calls 3

gen_helperFunction · 0.85
gen_holderFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected