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

Function isEnum

java/idl2jni/codegen/im_java.cpp:487–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487bool isEnum(AST_Type *t)
488{
489 if (t->node_type() == AST_Decl::NT_typedef) {
490 AST_Typedef *td = dynamic_cast<AST_Typedef*>(t);
491 t = td->primitive_base_type();
492 }
493
494 return t->node_type() == AST_Decl::NT_enum;
495}
496
497} // namespace
498

Callers 1

gen_unionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected