Class

Configuration()

Syntax

:new() --> oConfiguration

Parameters

None

Return

The class method :new() returns a Configuration object instance.

Description

The :new() method of the Configuration class initialized introspection data in a somewhat unusual manner, compared to other classes. Since Configuration instances are designed to be serialized and persistently stored, it is necessary to store introspection data in Class data members, as well as in the instance itself. Doing this allows comparison of a serialized instance with current Class data. Therefore, :_data and :_methods are initialized as Configuration():C_data and Configuration():C_methods, respectively. Also :version is initialized with its corresponding Class data.

The member :savedCfg is always initialized as false; by definition, at time of creation an instance has not been read from persistent storage.

All other data is initialized with its documented default values.