OpenDDS
Snapshot(2023/04/28-20:55)
|
#include "metaclass_generator.h"
#include "marshal_generator.h"
#include "field_info.h"
#include "be_extern.h"
#include "topic_keys.h"
#include <utl_identifier.h>
#include <cstddef>
#include <stdexcept>
Go to the source code of this file.
Functions | |
void | generate_anon_fields (AST_Structure *node) |
static std::string | gen_union_branch (const std::string &, AST_Decl *branch, const std::string &, AST_Type *br_type, const std::string &, bool, Intro &, const std::string &) |
|
static |
Definition at line 615 of file metaclass_generator.cpp.
References be_global, AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_SCALAR, AstTypeClassification::CL_SEQUENCE, AstTypeClassification::CL_STRING, AstTypeClassification::classify(), deepest_named_type(), field_type_name(), dds_generator::get_tag_name(), name, dds_generator::scoped_helper(), and to_cxx_type().
Referenced by metaclass_generator::gen_union().
void generate_anon_fields | ( | AST_Structure * | node | ) |
Definition at line 412 of file metaclass_generator.cpp.
References Function::addArg(), FieldInfo::arr_, array_element_count(), FieldInfo::as_act_, be_global, Fields::begin(), AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, AstTypeClassification::CL_SEQUENCE, AstTypeClassification::CL_STRING, AstTypeClassification::CL_STRUCTURE, AstTypeClassification::classify(), deepest_named_type(), Fields::end(), Function::endArgs(), marshal_generator::generate_dheader_code(), dds_generator::get_tag_name(), FieldInfo::is_new(), FieldInfo::length_, name, FieldInfo::ptr_, AstTypeClassification::resolveActualType(), scoped(), dds_generator::scoped_helper(), FieldInfo::seq_, and to_cxx_type().
Referenced by metaclass_generator::gen_struct(), and metaclass_generator::gen_union().