Пример #1
0
  protected static void read_() {
    _root = UmlCom.read_string();

    int n;
    int index;

    n = UmlCom.read_unsigned();

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

    _src_content = UmlCom.read_string();
    _ext = UmlCom.read_string();

    _class_decl = UmlCom.read_string();
    _external_class_decl = UmlCom.read_string();
    _enum_decl = UmlCom.read_string();
    _interface_decl = UmlCom.read_string();
    _attr_decl = UmlCom.read_string();
    _enum_item_decl = UmlCom.read_string();
    _rel_decl = UmlCom.read_string();
    _oper_def = UmlCom.read_string();
    UmlCom.read_char(); // getter visibility
    _get_name = UmlCom.read_string();
    _is_get_final = UmlCom.read_bool();
    UmlCom.read_char(); // setter visibility
    _set_name = UmlCom.read_string();
    _is_set_final = UmlCom.read_bool();
    _is_generate_javadoc_comment = UmlCom.read_bool();
    _req_with_path = UmlCom.read_bool();
    _is_relative_path = UmlCom.read_bool();
    _is_root_relative_path = 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();

    _is_force_namespace_gen = UmlCom.read_bool();

    _is_param_typed = UmlCom.read_bool();
    _is_out_inout_by_ref = UmlCom.read_bool();
  }
Пример #2
0
 /**
  * returns TRUE when the created Php objects are initialized with the default
  * declaration/definition
  */
 public static boolean useDefaults() {
   UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._getPhpUseDefaultsCmd);
   return UmlCom.read_bool();
 }