Configuration Files
[Utilities]


Files

file  config_file.hh

Classes

class  paludis::ConfigFileError
class  paludis::ConfigFile
class  paludis::ConfigFile::Source
class  paludis::LineConfigFile
class  paludis::KeyValueConfigFile

Typedefs

typedef Options
< LineConfigFileOption > 
paludis::LineConfigFileOptions

Enumerations

enum  paludis::LineConfigFileOption {
  paludis::lcfo_disallow_continuations, paludis::lcfo_disallow_comments, paludis::lcfo_preserve_whitespace, paludis::lcfo_no_skip_blank_lines,
  paludis::lcfo_allow_inline_comments, paludis::last_lcfo
}
enum  paludis::KeyValueConfigFileOption {
  paludis::kvcfo_disallow_continuations, paludis::kvcfo_disallow_comments, paludis::kvcfo_disallow_space_around_equals, paludis::kvcfo_disallow_space_inside_unquoted_values,
  paludis::kvcfo_disallow_single_quoted_strings, paludis::kvcfo_disallow_double_quoted_strings, paludis::kvcfo_disallow_unquoted_values, paludis::kvcfo_disallow_variables,
  paludis::kvcfo_disallow_source, paludis::kvcfo_preserve_whitespace, paludis::kvcfo_ignore_export, paludis::kvcfo_allow_inline_comments,
  paludis::kvcfo_allow_multiple_assigns_per_line, paludis::last_kvcfo
}

Detailed Description

The various ConfigFile subclasses simplify handling configuration files in various common formats.

Examples


Typedef Documentation

typedef Options<LineConfigFileOption> paludis::LineConfigFileOptions

Options for a LineConfigFile.

See also:
LineConfigFileOption

LineConfigFile


Enumeration Type Documentation

enum paludis::KeyValueConfigFileOption

Options for a KeyValueConfigFile.

See also:
KeyValueConfigFile

KeyValueConfigFileOptions

Enumerator:
kvcfo_disallow_continuations  Do not recognise line continuations.
kvcfo_disallow_comments  Do not recognise comments.
kvcfo_disallow_space_around_equals  Do not allow spaces around equals.
kvcfo_disallow_space_inside_unquoted_values  Do not allow spaces inside unquoted values.
kvcfo_disallow_single_quoted_strings  Do not allow single quoted strings.
kvcfo_disallow_double_quoted_strings  Do not allow double quoted strings.
kvcfo_disallow_unquoted_values  Do not allow unquoted values.
kvcfo_disallow_variables  Do not allow variable expansions.
kvcfo_disallow_source  Do not allow the source command.
kvcfo_preserve_whitespace  Do not strip trailing whitespace from values.
kvcfo_ignore_export  Accept and ignore the word export at the beginning of a line.
kvcfo_allow_inline_comments  Allow inline comments.

Since:
0.28
kvcfo_allow_multiple_assigns_per_line  Allow A='b' B='c' (and unquoted if kvcfo_disallow_space_inside_unquoted_values).

Since:
0.28
last_kvcfo  Number of keys in paludis::KeyValueConfigFileOption.

enum paludis::LineConfigFileOption

Options for a LineConfigFile.

See also:
LineConfigFile

LineConfigFileOptions

Enumerator:
lcfo_disallow_continuations  Do not recognise line continuations.
lcfo_disallow_comments  Do not recognise comments.
lcfo_preserve_whitespace  Preserve exact whitespace.
lcfo_no_skip_blank_lines  Do not skip blank lines.
lcfo_allow_inline_comments  Allow inline comments.

Since:
0.28
last_lcfo  Number of keys in paludis::LineConfigFileOption.


Generated on Mon Sep 21 10:36:09 2009 for paludis by  doxygen 1.5.4