OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <langmap_generator.h>
Public Member Functions | |
void | init () |
![]() | |
virtual | ~dds_generator ()=0 |
virtual bool | do_included_files () const |
virtual void | gen_prologue () |
virtual void | gen_epilogue () |
virtual bool | gen_interf (AST_Interface *, UTL_ScopedName *, bool, const std::vector< AST_Interface *> &, const std::vector< AST_Interface *> &, const std::vector< AST_Attribute *> &, const std::vector< AST_Operation *> &, const char *) |
virtual bool | gen_native (AST_Native *, UTL_ScopedName *, const char *) |
Private Member Functions | |
bool | gen_const (UTL_ScopedName *name, bool nestedInInteface, AST_Constant *constant) |
bool | gen_enum (AST_Enum *, UTL_ScopedName *name, const std::vector< AST_EnumVal *> &contents, const char *repoid) |
bool | gen_struct (AST_Structure *, UTL_ScopedName *name, const std::vector< AST_Field *> &fields, AST_Type::SIZE_TYPE size, const char *repoid) |
bool | gen_struct_fwd (UTL_ScopedName *name, AST_Type::SIZE_TYPE size) |
bool | gen_typedef (AST_Typedef *, UTL_ScopedName *name, AST_Type *type, const char *repoid) |
bool | gen_union (AST_Union *, UTL_ScopedName *name, const std::vector< AST_UnionBranch *> &branches, AST_Type *discriminator, const char *repoid) |
bool | gen_union_fwd (AST_UnionFwd *, UTL_ScopedName *name, AST_Type::SIZE_TYPE size) |
bool | gen_interf_fwd (UTL_ScopedName *name) |
Additional Inherited Members | |
![]() | |
static std::string | get_tag_name (const std::string &base_name, bool nested_key_only=false) |
static std::string | get_xtag_name (UTL_ScopedName *name) |
static bool | cxx_escaped (const std::string &s) |
static std::string | valid_var_name (const std::string &str) |
static std::string | to_string (Identifier *id, EscapeContext ec=EscapeContext_Normal) |
static std::string | scoped_helper (UTL_ScopedName *sn, const char *sep, EscapeContext cxt=EscapeContext_Normal) |
static std::string | module_scope_helper (UTL_ScopedName *sn, const char *sep, EscapeContext cxt=EscapeContext_Normal) |
Generate code for the IDL -> Programming Language mapping For example, IDL structs -> C++ structs, etc. Enabled by the -L* command line options
Definition at line 14 of file langmap_generator.h.
|
privatevirtual |
Reimplemented from dds_generator.
Definition at line 1839 of file langmap_generator.cpp.
References be_global, scoped(), dds_generator::scoped_helper(), and OpenDDS::DCPS::to_string().
|
privatevirtual |
Reimplemented from dds_generator.
Definition at line 1866 of file langmap_generator.cpp.
References be_global.
|
privatevirtual |
Reimplemented from dds_generator.
Definition at line 1985 of file langmap_generator.cpp.
References be_global.
|
privatevirtual |
Implements dds_generator.
Definition at line 1896 of file langmap_generator.cpp.
References be_global, and name.
|
privatevirtual |
Reimplemented from dds_generator.
Definition at line 1888 of file langmap_generator.cpp.
References be_global.
|
privatevirtual |
Implements dds_generator.
Definition at line 1919 of file langmap_generator.cpp.
References be_global, and AstTypeClassification::resolveActualType().
|
privatevirtual |
|
privatevirtual |
Reimplemented from dds_generator.
Definition at line 1968 of file langmap_generator.cpp.
References be_global.
void langmap_generator::init | ( | void | ) |
Definition at line 1817 of file langmap_generator.cpp.
References be_global, FaceGenerator::init(), SafetyProfileGenerator::init(), Cxx11Generator::init(), FaceGenerator::instance, SafetyProfileGenerator::instance, and Cxx11Generator::instance.