|
Daraja HTTP Framework 3.2.1-SNAPSHOT
HTTP server framework for Object Pascal
|
Generic configuration class for managing initialization parameters and context. More...
Public Member Functions | |
| TdjAbstractConfig () | |
| Constructor. | |
| ~TdjAbstractConfig () | |
| Destructor. | |
| IContext | GetContext () |
| Get the current context. | |
Protected Member Functions | |
| Add (const string Key, const string Value) | |
| string | GetInitParameter (const string Key) |
| Gets an initialization parameter. | |
| TdjStringArray | GetInitParameterNames () |
| string | GetName () |
| SetContext (const IContext Context) | |
| SetName (const string AName) | |
Generic configuration class for managing initialization parameters and context.
This class implements the IWriteableConfig interface and provides methods to add parameters, retrieve them, and manage the application context.
| TdjAbstractConfig::TdjAbstractConfig | ( | ) |
Constructor.
Initializes the configuration object and allocates resources for parameters.
References TdjAbstractConfig().
Referenced by TdjAbstractConfig(), ~TdjAbstractConfig(), GetContext(), and GetName().
| TdjAbstractConfig::~TdjAbstractConfig | ( | ) |
Destructor.
Frees allocated resources and cleans up the configuration object.
References TdjAbstractConfig().
|
protected |
References GetInitParameterNames(), and GetName().
| IContext TdjAbstractConfig::GetContext | ( | ) |
Get the current context.
References TdjAbstractConfig().
|
protected |
Gets an initialization parameter.
| Key | Parameter name (case-sensitive) |
Implements IContextConfig.
|
protected |
Implements IContextConfig.
Referenced by Add().
|
protected |
References TdjAbstractConfig().
Referenced by Add().
|
protected |
|
protected |