本文整理汇总了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;
}
示例2: remove_preprocessor
void remove_preprocessor(WrapperStr & s)
{
remove_preprocessor(s.GetInternalRef());
}
示例3: remove_comments
void remove_comments(WrapperStr & s)
{
remove_comments(s.GetInternalRef());
}
示例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();
}