|
OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <field_info.h>

Classes | |
| struct | EleLen |
Public Types | |
| typedef std::set< EleLen > | EleLenSet |
Public Member Functions | |
| FieldInfo (AST_Field &field) | |
| bool | is_new (EleLenSet &el_set) const |
| bool | anonymous () const |
Static Public Member Functions | |
| static bool | cxx11 () |
| static std::string | at_pfx () |
| static std::string | scoped_type (AST_Type &field_type, const std::string &field_name) |
| static std::string | underscore (const std::string &scoped) |
| static std::string | ref (const std::string &scoped, const std::string &const_s="const ") |
Public Attributes | |
| AST_Type * | type_ |
| const std::string | name_ |
| const std::string | scoped_type_ |
| const std::string | underscored_ |
| const std::string | struct_name_ |
| const std::string | type_name_ |
| AST_Type * | act_ |
| const AstTypeClassification::Classification | cls_ |
| AST_Array * | arr_ |
| AST_Sequence * | seq_ |
| AST_Type * | as_base_ |
| AST_Type * | as_act_ |
| const AstTypeClassification::Classification | as_cls_ |
| const std::string | scoped_elem_ |
| const std::string | underscored_elem_ |
| const std::string | elem_ref_ |
| const std::string | elem_const_ref_ |
| std::size_t | n_elems_ |
| std::string | length_ |
| std::string | unwrap_ |
| std::string | const_unwrap_ |
| std::string | arg_ |
| std::string | ref_ |
| std::string | const_ref_ |
| std::string | ptr_ |
Static Public Attributes | |
| static const std::string | scope_op = "::" |
Definition at line 20 of file field_info.h.
| typedef std::set<EleLen> FieldInfo::EleLenSet |
Definition at line 31 of file field_info.h.
|
explicit |
Definition at line 87 of file field_info.cpp.
References arg_, arr_, const_ref_, const_unwrap_, cxx11(), length_, n_elems_, ptr_, ref(), ref_, scoped_type_, seq_, and unwrap_.
| bool FieldInfo::anonymous | ( | ) | const |
Definition at line 137 of file field_info.cpp.
References as_base_, AstTypeClassification::CL_ARRAY, AstTypeClassification::CL_SEQUENCE, cls_, and type_.
Referenced by marshal_generator::gen_typedef().
|
static |
|
static |
Definition at line 50 of file field_info.cpp.
References be_global.
Referenced by at_pfx(), FieldInfo(), and is_new().
| bool FieldInfo::is_new | ( | EleLenSet & | el_set | ) | const |
Definition at line 132 of file field_info.cpp.
References cxx11(), and type_.
Referenced by marshal_generator::gen_struct(), and metaclass_generator::gen_struct().
|
static |
Definition at line 82 of file field_info.cpp.
References dds_generator::get_tag_name().
Referenced by FieldInfo().
|
static |
Definition at line 60 of file field_info.cpp.
References at_pfx(), scope_op, and scoped().
|
static |
Definition at line 70 of file field_info.cpp.
References scope_op, and scoped().
| AST_Type* FieldInfo::act_ |
Definition at line 46 of file field_info.h.
Referenced by Cxx11Generator::gen_struct_members().
| std::string FieldInfo::arg_ |
Definition at line 63 of file field_info.h.
Referenced by FieldInfo().
| AST_Array* FieldInfo::arr_ |
Definition at line 48 of file field_info.h.
Referenced by FieldInfo(), marshal_generator::gen_struct(), metaclass_generator::gen_struct(), and Cxx11Generator::gen_struct_members().
| AST_Type* FieldInfo::as_act_ |
Definition at line 51 of file field_info.h.
Referenced by metaclass_generator::gen_struct().
| AST_Type* FieldInfo::as_base_ |
Definition at line 50 of file field_info.h.
Referenced by anonymous(), Cxx11Generator::gen_struct_members(), and GeneratorBase::map_type().
| const AstTypeClassification::Classification FieldInfo::as_cls_ |
Definition at line 52 of file field_info.h.
| const AstTypeClassification::Classification FieldInfo::cls_ |
Definition at line 47 of file field_info.h.
Referenced by anonymous(), and Cxx11Generator::gen_struct_members().
| std::string FieldInfo::const_ref_ |
Definition at line 65 of file field_info.h.
Referenced by FieldInfo().
| std::string FieldInfo::const_unwrap_ |
Definition at line 62 of file field_info.h.
Referenced by FieldInfo().
| const std::string FieldInfo::elem_const_ref_ |
Definition at line 56 of file field_info.h.
| const std::string FieldInfo::elem_ref_ |
Definition at line 55 of file field_info.h.
| std::string FieldInfo::length_ |
Definition at line 59 of file field_info.h.
Referenced by FieldInfo(), and metaclass_generator::gen_struct().
| std::size_t FieldInfo::n_elems_ |
Definition at line 58 of file field_info.h.
Referenced by FieldInfo().
| const std::string FieldInfo::name_ |
Definition at line 41 of file field_info.h.
Referenced by Cxx11Generator::gen_struct_members(), and marshal_generator::gen_typedef().
| std::string FieldInfo::ptr_ |
Definition at line 66 of file field_info.h.
Referenced by FieldInfo(), marshal_generator::gen_field_getValueFromSerialized(), and metaclass_generator::gen_struct().
| std::string FieldInfo::ref_ |
Definition at line 64 of file field_info.h.
Referenced by FieldInfo().
|
static |
Definition at line 33 of file field_info.h.
Referenced by FieldInfo::EleLen::operator<(), scoped_type(), and underscore().
| const std::string FieldInfo::scoped_elem_ |
Definition at line 53 of file field_info.h.
| const std::string FieldInfo::scoped_type_ |
Definition at line 42 of file field_info.h.
Referenced by FieldInfo(), and marshal_generator::gen_typedef().
| AST_Sequence* FieldInfo::seq_ |
Definition at line 49 of file field_info.h.
Referenced by FieldInfo(), marshal_generator::gen_struct(), metaclass_generator::gen_struct(), and Cxx11Generator::gen_struct_members().
| const std::string FieldInfo::struct_name_ |
Definition at line 44 of file field_info.h.
| AST_Type* FieldInfo::type_ |
Definition at line 40 of file field_info.h.
Referenced by anonymous(), marshal_generator::gen_enum(), Cxx11Generator::gen_struct_members(), marshal_generator::gen_typedef(), is_new(), and GeneratorBase::map_type().
| const std::string FieldInfo::type_name_ |
Definition at line 45 of file field_info.h.
Referenced by Cxx11Generator::gen_struct_members(), and GeneratorBase::map_type().
| const std::string FieldInfo::underscored_ |
Definition at line 43 of file field_info.h.
| const std::string FieldInfo::underscored_elem_ |
Definition at line 54 of file field_info.h.
| std::string FieldInfo::unwrap_ |
Definition at line 61 of file field_info.h.
Referenced by FieldInfo().
1.8.13