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

Method is_default_nested

dds/idl/be_global.cpp:731–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731bool BE_GlobalData::is_default_nested(UTL_Scope* scope)
732{
733 AST_Decl* module = dynamic_cast<AST_Decl*>(scope);
734 DefaultNestedAnnotation* default_nested = builtin_annotations_.get<DefaultNestedAnnotation>();
735 if (module) {
736 bool value;
737 if (default_nested->node_value_exists(module, value)) {
738 return value;
739 }
740
741 return is_default_nested(module->defined_in());
742 }
743
744 return root_default_nested_;
745}
746
747bool BE_GlobalData::check_key(AST_Decl* node, bool& value) const
748{

Callers

nothing calls this directly

Calls 1

node_value_existsMethod · 0.45

Tested by

no test coverage detected