[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Source position: upasconf.pas line 602
type TTemplateApplication = class |
||
public |
||
function ArName(); |
|
Builds an archive name from Filename. |
constructor Create; |
||
procedure DeclareBoolean(); |
|
Declares a boolean configuration variable named Name. Sets its default value to Value and its kind to Kind. |
procedure DeclareEnum(); |
|
Declares an enum configuration variable named Name. Sets its default value to Value and its kind to Kind. |
procedure DeclareInteger(); |
|
Declares an integer configuration variable named Name. Sets its default value to Value and its kind to Kind. |
procedure DeclarePath(); |
|
Declares a path configuration variable named Name. Sets its default value to Value and its kind to Kind. |
procedure DeclareReal(); |
|
Declares a real configuration variable named Name. Sets its default value to Value and its kind to Kind. |
procedure DeclareString(); |
|
Declares a string configuration variable named Name. Sets its default value to Value and its kind to Kind. |
destructor Destroy; override; |
||
function ExeName(); |
|
Builds an executable name from FileName. |
procedure Initialize; virtual; |
||
function LibName(); |
|
Builds a library name from FileName. |
function OnCall(); virtual; |
||
procedure OnOption(); virtual; |
||
procedure OnSetVar(); virtual; |
||
function OnTag(); virtual; |
||
procedure RegisterFileTemplate(); |
||
procedure RegisterStringTemplate(); |
||
procedure Run; |
||
procedure SetVar(); |
|
Sets the value of a configuration variable |
procedure SetVarHelp(); |
|
Sets help string of a configuration variable |
procedure UpdateVars; virtual; |
||
function VarAsBool(); |
|
Returns the value of a configuration variable. |
function VarAsBoolDef(); |
|
Returns the value of a configuration variable or a default value. |
function VarAsInt(); |
|
Returns the value of a configuration variable. |
function VarAsIntDef(); |
|
Returns the value of a configuration variable or a default value. |
function VarAsReal(); |
|
Returns the value of a configuration variable. |
function VarAsRealDef(); |
|
Returns the value of a configuration variable or a default value. |
function VarAsStr(); |
|
Returns the value of a configuration variable. |
function VarCount; |
|
Returns the number of configuration variables. |
function VarExists(); |
|
Returns true if a configuration variable named Name exists. Returns false otherwise. |
function VarIndex(); |
|
If a configuration variable named Name exists this function returns its index (zero based). Otherwise it returns -1. |
function VarIndexOrFail(); |
|
If a configuration variable named Name exists this function returns its index (zero based). Otherwise it raises EPasConfError. |
function VarList; |
||
function VarName(); |
|
Returns the name of configuration variable Index. |
property WarningsOn: Boolean; [rw] |
||
property Quiet: Boolean; [rw] |
||
property ShowBacktrace: Boolean; [rw] |
||
end; |
| |
TObject |