Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File lib/ocaml/pkg-lib/inifiles/inifiles.cmi_pretty GODI Package godi-inifiles
Library inifiles
 
   inifiles.cmi_pretty    inifiles.mli    Sources  
exception Invalid_section of string
exception Invalid_element of string
exception Missing_section of string
exception Missing_element of string
type attribute_specification =
  Inifiles.attribute_specification = {
  atr_name : string;
  atr_required : bool;
  atr_default : string list option;
  atr_validator : Pcre.regexp option;
}
type section_specification =
  Inifiles.section_specification = {
  sec_name : string;
  sec_required : bool;
  sec_attributes : attribute_specification list;
}
type specification = section_specification list
class inifile :
  ?spec:specification ->
  string ->
  object
    method attrs : string -> string list
    method delval : string -> string -> unit
    method getaval : string -> string -> string list
    method getval : string -> string -> string
    method iter : (string -> string -> unit) -> string -> unit
    method save : ?file:string -> unit -> unit
    method sects : string list
    method setval : string -> string -> string -> unit
  end
val fold : ('a -> inifile -> 'a) -> string -> 'a -> 'a
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml