Config::Model::models::Itself::Class(3) Configuration class Itself::Class

DESCRIPTION

Configuration classes used by Config::Model

Configuration class. This class represents a node of a configuration tree.

Elements

class_description

Explain the purpose of this configuration class. This description will be re-used to generate the documentation of your configuration class. You can use pod markup to format your description. See perlpod for details. Optional. Type string.

license

Optional. Type string.

author

Optional. Type list of uniline.

copyright

Optional. Type list of uniline.

class - Override implementation of configuration node

Perl class name used to override the default implementation of a configuration node. This Perl class must inherit Config::Model::Node. Use with care. Optional. Type uniline.

element

Specify the elements names of this configuration class. Optional. Type hash of node of class Itself::Element .

include

Include the element description of another class into this class. Optional. Type list of reference.

include_backend

Include the read/write specification of another class into this class. Optional. Type list of reference.

include_after

insert the included elements after a specific element. By default, included elements are placed before all other elements. Optional. Type reference.

generated_by

When set, this class was generated by some program. You should not edit this class as your modifications may be clobbered later on when the class is regenerated. Optional. Type uniline.

read_config

Specify the Perl class(es) and function(s) used to read configuration data. The specified function will be tried in sequence to get configuration data. Optional. Type list of node of class Itself::ConfigRead .

write_config

Specify the Perl class and function used to write configuration data. Optional. Type list of node of class Itself::ConfigWrite .

accept

Specifies names of the elements this configuration class will accept as valid. The key of the hash is a regular expression that will be tested against
           candidate parameters. When the parameter matches the regular expression, 
           a new parameter is created in the model using the description provided
           in the value of this hash key. Note that the regexp must match the whole name
           of the potential parameter. I.e. the specified regexp will be eval'ed 
           with a leading "^" and a trailing "$"Optional. Type hash of node of class Itself::ConfigAccept .

AUTHOR

Dominique Dumont

COPYRIGHT

2007-2011 Dominique Dumont.

LICENSE

LGPL-2