-(** {2 OO interface} *)
-
- (** @see load_from *)
-class registry: ?path: string list -> string ->
- object
- method get: string -> string
- method set: key:string -> value:string -> unit
- method has: string -> bool
- method unset: string -> unit
- method fold: ?prefix:string -> ('a -> string -> string -> 'a) -> 'a -> 'a
- method iter: ?prefix:string -> (string -> string -> unit) -> unit
- method to_list: ?prefix:string -> unit -> (string * string) list
- method ls: string -> string list * string list
- method get_string: string -> string
- method get_int: string -> int
- method get_float: string -> float
- method get_bool: string -> bool
- method get_string_list: string -> string list
- method set_string: key:string -> value:string -> unit
- method set_int: key:string -> value:int -> unit
- method set_float: key:string -> value:float -> unit
- method set_bool: key:string -> value:bool -> unit
- method set_string_list: key:string -> value:string list -> unit
- method get_opt:
- (string -> 'a) (* getter *) ->
- string -> 'a option
- method set_opt:
- (key:string -> value:'a -> unit) (* setter *) ->
- key:string -> value:'a option -> unit
- method get_opt_default:
- (string -> 'a) (* getter *) ->
- 'a -> string -> 'a
- method save_to: string -> unit
- end
-