52 return be_global->language_mapping() == BE_GlobalData::LANGMAP_CXX11;
57 return cxx11() ?
"AnonymousType_" :
"_";
62 std::string n =
scoped(field_type.name());
63 if (!field_type.anonymous()) {
67 return (field_type.node_type() == AST_Decl::NT_sequence) ? (n +
"_seq") : n;
76 for (std::size_t i = s.find(
scope_op); i != s.npos; i = s.find(
scope_op, i + 2)) {
88 :
type_(field.field_type())
89 ,
name_(field.local_name()->get_string())
97 ,
seq_(dynamic_cast<AST_Sequence*>(
type_))
108 std::ostringstream os;
bool is_new(EleLenSet &el_set) const
Classification classify(AST_Type *type)
static std::string ref(const std::string &scoped, const std::string &const_s="const ")
std::string const_unwrap_
static std::string get_tag_name(const std::string &base_name, const std::string &qualifier="")
AstTypeClassification::Classification base_cls_
static const std::string scope_op
const Classification CL_ARRAY
static std::string scoped_type(AST_Type &field_type, const std::string &field_name)
static std::string at_pfx()
const std::string scoped_elem_
const std::string underscored_
const AstTypeClassification::Classification cls_
ACE_CDR::ULong container_element_limit(AST_Type *type)
AstTypeClassification::Classification cls_
const std::string scoped_type_
const std::string underscored_elem_
AST_Type * resolveActualType(AST_Type *element)
const Classification CL_UNKNOWN
static std::string underscore(const std::string &scoped)
Container base_container_
AST_Type * container_base_type(AST_Type *type)
std::string scoped(UTL_ScopedName *sn, EscapeContext ec=EscapeContext_Normal)
bool operator<(const EleLen &o) const
std::set< EleLen > EleLenSet
BE_GlobalData * be_global
const AstTypeClassification::Classification as_cls_
const Classification CL_SEQUENCE
const std::string elem_const_ref_
ACE_Strong_Bound_Ptr< const EleLen, ACE_Null_Mutex > Container
const std::string elem_ref_
FieldInfo(AST_Field &field)
const std::string struct_name_
const std::string type_name_