OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <keys_generator.h>
Public Member Functions | |
bool | gen_struct (AST_Structure *node, UTL_ScopedName *name, const std::vector< AST_Field *> &fields, AST_Type::SIZE_TYPE size, const char *repoid) |
bool | gen_typedef (AST_Typedef *, UTL_ScopedName *, AST_Type *, const char *) |
bool | gen_union (AST_Union *node, UTL_ScopedName *name, const std::vector< AST_UnionBranch *> &, AST_Type *, const char *) |
![]() | |
virtual | ~dds_generator ()=0 |
virtual bool | do_included_files () const |
virtual void | gen_prologue () |
virtual void | gen_epilogue () |
virtual bool | gen_const (UTL_ScopedName *, bool, AST_Constant *) |
virtual bool | gen_enum (AST_Enum *, UTL_ScopedName *, const std::vector< AST_EnumVal *> &, const char *) |
virtual bool | gen_struct_fwd (UTL_ScopedName *, AST_Type::SIZE_TYPE) |
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_interf_fwd (UTL_ScopedName *) |
virtual bool | gen_native (AST_Native *, UTL_ScopedName *, const char *) |
virtual bool | gen_union_fwd (AST_UnionFwd *, UTL_ScopedName *, AST_Type::SIZE_TYPE) |
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) |
Definition at line 13 of file keys_generator.h.
|
virtual |
Implements dds_generator.
Definition at line 82 of file keys_generator.cpp.
References ACE_TEXT_ALWAYS_CHAR, be_global, TopicKeys::begin(), TopicKeys::count(), TopicKeys::end(), KeyLessThanWrapper::has_keys_signature(), KeyLessThanWrapper::has_no_keys_signature(), insert_cxx11_accessor_parens(), KeyLessThanWrapper::key_compare(), OpenDDS::XTypes::key_count(), TopicKeys::Iterator::path(), and TopicKeys::UnionType.
|
inlinevirtual |
|
virtual |
Implements dds_generator.
Definition at line 139 of file keys_generator.cpp.
References be_global, KeyLessThanWrapper::has_keys_signature(), KeyLessThanWrapper::has_no_keys_signature(), and KeyLessThanWrapper::key_compare().
Referenced by gen_typedef().