OpenDDS
Snapshot(2023/04/07-19:43)
|
Public Member Functions | |
virtual void | init () |
virtual void | gen_sequence (UTL_ScopedName *tdname, AST_Sequence *seq) |
bool | gen_struct (AST_Structure *, UTL_ScopedName *name, const std::vector< AST_Field *> &fields, AST_Type::SIZE_TYPE size, const char *) |
![]() | |
virtual | ~GeneratorBase () |
virtual std::string | const_keyword (AST_Expression::ExprType) |
std::string | map_type (AST_Type *type) |
std::string | map_type (AST_Field *field) |
virtual std::string | map_type_string (AST_PredefinedType::PredefinedType chartype, bool constant) |
std::string | map_type (AST_Expression::ExprType type) |
virtual void | gen_simple_out (const char *nm) |
virtual bool | scoped_enum () |
virtual std::string | enum_base () |
virtual void | struct_decls (UTL_ScopedName *name, AST_Type::SIZE_TYPE size, const char *struct_or_class="struct") |
virtual bool | gen_union (AST_Union *u, UTL_ScopedName *name, const std::vector< AST_UnionBranch *> &branches, AST_Type *discriminator) |
virtual void | gen_array (UTL_ScopedName *tdname, AST_Array *arr) |
virtual void | gen_array_traits (UTL_ScopedName *tdname, AST_Array *arr) |
virtual void | gen_array_typedef (const char *nm, AST_Type *base) |
virtual void | gen_typedef_varout (const char *nm, AST_Type *base) |
Static Public Attributes | |
static SafetyProfileGenerator | instance |
Additional Inherited Members | |
![]() | |
static std::string | generateDefaultValue (AST_Union *the_union) |
static bool | hasDefaultLabel (const std::vector< AST_UnionBranch *> &branches) |
static size_t | countLabels (const std::vector< AST_UnionBranch *> &branches) |
static bool | needsDefault (const std::vector< AST_UnionBranch *> &branches, AST_Type *discriminator) |
static void | generate_union_field (AST_UnionBranch *branch) |
static std::string | generateCopyCtor (const std::string &, AST_Decl *, const std::string &name, AST_Type *field_type, const std::string &, bool, Intro &, const std::string &) |
static std::string | generateAssign (const std::string &, AST_Decl *, const std::string &name, AST_Type *field_type, const std::string &, bool, Intro &, const std::string &) |
static std::string | generateEqual (const std::string &, AST_Decl *, const std::string &name, AST_Type *field_type, const std::string &, bool, Intro &, const std::string &) |
static std::string | generateReset (const std::string &, AST_Decl *, const std::string &name, AST_Type *field_type, const std::string &, bool, Intro &, const std::string &) |
Definition at line 1111 of file langmap_generator.cpp.
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1154 of file langmap_generator.cpp.
References be_global, AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_STRING, AstTypeClassification::CL_WIDE, and AstTypeClassification::classify().
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1235 of file langmap_generator.cpp.
References be_global, AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_STRING, AstTypeClassification::CL_WIDE, AstTypeClassification::classify(), NestedForLoops::index_, and AstTypeClassification::resolveActualType().
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1113 of file langmap_generator.cpp.
References be_global.
Referenced by langmap_generator::init().
|
static |
Definition at line 1342 of file langmap_generator.cpp.
Referenced by langmap_generator::init().