OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <dds_generator.h>
Public Member Functions | |
void | gen_prologue () |
void | gen_epilogue () |
bool | gen_const (UTL_ScopedName *name, bool nestedInInteface, AST_Constant *constant) |
bool | gen_enum (AST_Enum *node, UTL_ScopedName *name, const std::vector< AST_EnumVal *> &contents, const char *repoid) |
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_struct_fwd (UTL_ScopedName *name, AST_Type::SIZE_TYPE size) |
bool | gen_typedef (AST_Typedef *node, UTL_ScopedName *name, AST_Type *base, const char *repoid) |
bool | gen_interf (AST_Interface *node, UTL_ScopedName *name, bool local, const std::vector< AST_Interface *> &inherits, const std::vector< AST_Interface *> &inherits_flat, const std::vector< AST_Attribute *> &attrs, const std::vector< AST_Operation *> &ops, const char *repoid) |
bool | gen_interf_fwd (UTL_ScopedName *name) |
bool | gen_native (AST_Native *node, UTL_ScopedName *name, const char *repoid) |
bool | gen_union (AST_Union *node, 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) |
composite_generator () | |
template<typename InputIterator > | |
composite_generator (InputIterator begin, InputIterator end) | |
void | add_generator (dds_generator *gen) |
![]() | |
virtual | ~dds_generator ()=0 |
virtual bool | do_included_files () const |
Private Attributes | |
std::vector< dds_generator * > | components_ |
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 135 of file dds_generator.h.
|
inline |
Definition at line 172 of file dds_generator.h.
|
inline |
Definition at line 175 of file dds_generator.h.
|
inline |
Definition at line 178 of file dds_generator.h.
Referenced by dds_visitor::dds_visitor().
|
virtual |
Reimplemented from dds_generator.
Definition at line 148 of file dds_generator.cpp.
Referenced by dds_visitor::visit_constant().
|
virtual |
Reimplemented from dds_generator.
Definition at line 161 of file dds_generator.cpp.
Referenced by dds_visitor::visit_enum().
|
virtual |
Reimplemented from dds_generator.
Definition at line 140 of file dds_generator.cpp.
Referenced by dds_visitor::visit_root().
|
virtual |
Reimplemented from dds_generator.
Definition at line 213 of file dds_generator.cpp.
Referenced by dds_visitor::visit_interface().
|
virtual |
Reimplemented from dds_generator.
Definition at line 230 of file dds_generator.cpp.
Referenced by dds_visitor::visit_interface_fwd().
|
virtual |
Reimplemented from dds_generator.
Definition at line 241 of file dds_generator.cpp.
Referenced by dds_visitor::visit_native().
|
virtual |
Reimplemented from dds_generator.
Definition at line 132 of file dds_generator.cpp.
Referenced by dds_visitor::visit_root().
|
virtual |
Implements dds_generator.
Definition at line 174 of file dds_generator.cpp.
Referenced by dds_visitor::visit_structure().
|
virtual |
Reimplemented from dds_generator.
Definition at line 188 of file dds_generator.cpp.
Referenced by dds_visitor::visit_structure_fwd().
|
virtual |
Implements dds_generator.
Definition at line 200 of file dds_generator.cpp.
Referenced by dds_visitor::visit_typedef().
|
virtual |
Implements dds_generator.
Definition at line 253 of file dds_generator.cpp.
Referenced by dds_visitor::visit_union().
|
virtual |
Reimplemented from dds_generator.
Definition at line 269 of file dds_generator.cpp.
Referenced by dds_visitor::visit_union_fwd().
|
private |
Definition at line 181 of file dds_generator.h.