OpenDDS
Snapshot(2023/04/07-19:43)
|
Public Member Functions | |
void | init () |
std::string | map_type_string (AST_PredefinedType::PredefinedType chartype, bool) |
std::string | const_keyword (AST_Expression::ExprType type) |
void | gen_simple_out (const char *) |
bool | scoped_enum () |
std::string | enum_base () |
void | gen_union_pragma_pre () |
void | gen_union_pragma_post () |
void | struct_decls (UTL_ScopedName *name, AST_Type::SIZE_TYPE, const char *) |
void | gen_array (UTL_ScopedName *tdname, AST_Array *arr) |
void | gen_array_traits (UTL_ScopedName *, AST_Array *) |
void | gen_array_typedef (const char *, AST_Type *) |
void | gen_typedef_varout (const char *, AST_Type *) |
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, const char *) |
bool | gen_union (AST_Union *u, UTL_ScopedName *name, const std::vector< AST_UnionBranch *> &branches, AST_Type *discriminator) |
![]() | |
virtual | ~GeneratorBase () |
std::string | map_type (AST_Type *type) |
std::string | map_type (AST_Field *field) |
std::string | map_type (AST_Expression::ExprType type) |
Static Public Member Functions | |
static void | gen_typecode_ptrs (const std::string &type) |
static void | gen_array (AST_Array *arr, const std::string &type, const std::string &elem, const std::string &ind="") |
static void | gen_sequence (const std::string &type, const std::string &elem, const std::string &ind="") |
static void | gen_common_strunion_pre (const char *nm) |
static void | gen_common_strunion_post (const char *nm) |
static void | gen_struct_members (AST_Field *field) |
static void | union_field (AST_UnionBranch *branch) |
static void | union_accessors (AST_UnionBranch *branch) |
static std::string | union_copy (const std::string &, AST_Decl *, const std::string &name, AST_Type *, const std::string &, bool, Intro &, const std::string &) |
static std::string | union_move (const std::string &, AST_Decl *, const std::string &name, AST_Type *, const std::string &, bool, Intro &, const std::string &) |
static std::string | union_assign (const std::string &, AST_Decl *, const std::string &name, AST_Type *, const std::string &, bool, Intro &, const std::string &) |
static std::string | union_move_assign (const std::string &, AST_Decl *, const std::string &name, AST_Type *, const std::string &, bool, Intro &, const std::string &) |
static std::string | union_activate (const std::string &, AST_Decl *, const std::string &name, AST_Type *type, const std::string &, bool, Intro &, const std::string &) |
static std::string | union_reset (const std::string &, AST_Decl *, const std::string &name, AST_Type *type, const std::string &, bool, Intro &, const std::string &) |
![]() | |
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 &) |
Static Public Attributes | |
static Cxx11Generator | instance |
Definition at line 1346 of file langmap_generator.cpp.
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1405 of file langmap_generator.cpp.
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1419 of file langmap_generator.cpp.
|
inlinestatic |
Definition at line 1446 of file langmap_generator.cpp.
References be_global.
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1458 of file langmap_generator.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1473 of file langmap_generator.cpp.
|
inlinevirtual |
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1544 of file langmap_generator.cpp.
References be_global, AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, and AstTypeClassification::classify().
|
inlinestatic |
Definition at line 1494 of file langmap_generator.cpp.
References FieldInfo::act_, FieldInfo::arr_, FieldInfo::as_base_, OpenDDS::DCPS::assign(), be_global, AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, FieldInfo::cls_, OpenDDS::DCPS::move(), FieldInfo::name_, FieldInfo::seq_, FieldInfo::type_, and FieldInfo::type_name_.
|
inlinestatic |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1710 of file langmap_generator.cpp.
References be_global, and generateSwitchForUnion().
|
inline |
|
inline |
|
inlinevirtual |
Implements GeneratorBase.
Definition at line 1348 of file langmap_generator.cpp.
References be_global.
Referenced by langmap_generator::init().
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1400 of file langmap_generator.cpp.
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1418 of file langmap_generator.cpp.
|
inlinevirtual |
Reimplemented from GeneratorBase.
Definition at line 1440 of file langmap_generator.cpp.
References be_global.
|
inlinestatic |
Definition at line 1597 of file langmap_generator.cpp.
References OpenDDS::DCPS::assign(), be_global, AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, AstTypeClassification::classify(), getEnumLabel(), OpenDDS::DCPS::move(), and AstTypeClassification::resolveActualType().
|
inlinestatic |
Definition at line 1679 of file langmap_generator.cpp.
References AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, AstTypeClassification::classify(), and AstTypeClassification::resolveActualType().
|
inlinestatic |
Definition at line 1665 of file langmap_generator.cpp.
|
inlinestatic |
Definition at line 1651 of file langmap_generator.cpp.
|
inlinestatic |
|
inlinestatic |
Definition at line 1658 of file langmap_generator.cpp.
|
inlinestatic |
Definition at line 1672 of file langmap_generator.cpp.
|
inlinestatic |
Definition at line 1692 of file langmap_generator.cpp.
References AstTypeClassification::CL_ENUM, AstTypeClassification::CL_PRIMITIVE, AstTypeClassification::CL_STRING, AstTypeClassification::classify(), and AstTypeClassification::resolveActualType().
|
static |
Definition at line 1813 of file langmap_generator.cpp.
Referenced by langmap_generator::init().