当前位置: 首页>>代码示例>>C++>>正文


C++ WrapperStr::GetInternalRef方法代码示例

本文整理汇总了C++中WrapperStr::GetInternalRef方法的典型用法代码示例。如果您正苦于以下问题:C++ WrapperStr::GetInternalRef方法的具体用法?C++ WrapperStr::GetInternalRef怎么用?C++ WrapperStr::GetInternalRef使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在WrapperStr的用法示例。


在下文中一共展示了WrapperStr::GetInternalRef方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: set_Include

bool CppSettings::set_Include(WrapperStr s, WrapperStr v)
{
    read_if_needed_();
    UmlCom::send_cmd(cppSettingsCmd, setCppIncludeCmd, s, v);

    if (UmlCom::read_bool()) {
       QString r = _map_includes.take(s);

        if (!v.isEmpty())
            _map_includes.insert(s, QString(v.GetInternalRef()));
        return TRUE;
    }
    else
        return FALSE;
}
开发者ID:gilbertoca,项目名称:douml,代码行数:15,代码来源:CppSettings.cpp

示例2: remove_preprocessor

void remove_preprocessor(WrapperStr & s)
{
    remove_preprocessor(s.GetInternalRef());
}
开发者ID:ErickCastellanos,项目名称:douml,代码行数:4,代码来源:strutil.cpp

示例3: remove_comments

void remove_comments(WrapperStr & s)
{
    remove_comments(s.GetInternalRef());
}
开发者ID:ErickCastellanos,项目名称:douml,代码行数:4,代码来源:strutil.cpp

示例4: read_

void CppSettings::read_()
{
    _root = UmlCom::read_string();

    unsigned n;
    unsigned index;

    n = UmlCom::read_unsigned();

    for (index = 0; index != n; index += 1) {
        UmlSettings::_builtins[index].cpp = UmlCom::read_string();
        UmlSettings::_builtins[index].cpp_in = UmlCom::read_string();
        UmlSettings::_builtins[index].cpp_out = UmlCom::read_string();
        UmlSettings::_builtins[index].cpp_inout = UmlCom::read_string();
        UmlSettings::_builtins[index].cpp_return = UmlCom::read_string();
    }

    n = UmlCom::read_unsigned();

    for (index = 0; index != n; index += 1)
        UmlSettings::_relation_attribute_stereotypes[index].cpp = UmlCom::read_string();

    n = UmlCom::read_unsigned();

    for (index = 0; index != n; index += 1)
        UmlSettings::_class_stereotypes[index].cpp = UmlCom::read_string();

    n = UmlCom::read_unsigned();
    _map_includes.clear();

    if (n > _map_includes.size())
        _map_includes.reserve(n);

    for (index = 0; index != n; index += 1) {
        WrapperStr t = UmlCom::read_string();
        WrapperStr i = UmlCom::read_string();

        _map_includes.insert(t, QString(i.GetInternalRef()));
    }

    _h_content = UmlCom::read_string();
    _src_content = UmlCom::read_string();
    _h_ext = UmlCom::read_string();
    _src_ext = UmlCom::read_string();
    _incl_with_path = UmlCom::read_bool();

    _in = UmlCom::read_string();
    _out = UmlCom::read_string();
    _inout = UmlCom::read_string();
    _return = UmlCom::read_string();
    _enum_in = UmlCom::read_string();
    _enum_out = UmlCom::read_string();
    _enum_inout = UmlCom::read_string();
    _enum_return = UmlCom::read_string();
    _class_decl = UmlCom::read_string();
    _external_class_decl = UmlCom::read_string();
    _struct_decl = UmlCom::read_string();
    _union_decl = UmlCom::read_string();
    _enum_decl = UmlCom::read_string();
    _typedef_decl = UmlCom::read_string();

    for (index = 0; index != 3; index += 1)
        _attr_decl[index] = UmlCom::read_string();

    _enum_item_decl = UmlCom::read_string();

    for (index = 0; index != 3; index += 1) {
        _rel_decl[0][index] = UmlCom::read_string();
        _rel_decl[1][index] = UmlCom::read_string();
    }

    _oper_decl = UmlCom::read_string();
    _oper_def = UmlCom::read_string();
    _force_oper_throw = UmlCom::read_bool();
    _get_visibility = (aVisibility) UmlCom::read_char();
    _get_name = UmlCom::read_string();
    _is_get_inline = UmlCom::read_bool();
    _is_get_const = UmlCom::read_bool();
    _is_get_value_const = UmlCom::read_bool();
    _set_visibility = (aVisibility) UmlCom::read_char();
    _set_name = UmlCom::read_string();
    _is_set_inline = UmlCom::read_bool();
    _is_set_param_const = UmlCom::read_bool();

    _is_set_param_ref = UmlCom::read_bool();
    _is_relative_path = UmlCom::read_bool();
    _is_force_namespace_gen = UmlCom::read_bool();
    _is_root_relative_path = UmlCom::read_bool();
    _is_generate_javadoc_comment = UmlCom::read_bool();
    _is_inline_force_header_in_h = UmlCom::read_bool();

    _dir_regexp = UmlCom::read_string();
    _dir_regexp_case_sensitive = UmlCom::read_bool();

    _file_regexp = UmlCom::read_string();
    _file_regexp_case_sensitive = UmlCom::read_bool();

    _visibility_indent = UmlCom::read_string();
}
开发者ID:gilbertoca,项目名称:douml,代码行数:99,代码来源:CppSettings.cpp


注:本文中的WrapperStr::GetInternalRef方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。