Class TBrookRoutes
Unit
BrookRouter
Declaration
type TBrookRoutes = class(TBrookPersistent)
Description
Defines a list of routes.
Hierarchy
Overview
Methods
Properties
|
property List: TFPList read FList; |
|
property Items[constAIndex:Integer]: PBrookRoute read GetItems
write SetItems; |
Description
Methods
|
procedure FreeRoutes; virtual; |
|
|
constructor Create; virtual; |
Creates an instance of a TBrookRoutes class.
|
|
destructor Destroy; override; |
Frees an instance of TBrookRoutes class.
|
|
procedure Clear; |
Clears all routes.
|
|
function Count: Integer; |
Returns the number of registered routes.
|
|
procedure GetDefaultActionClass(out AClass: TBrookActionClass; out AIndex: Integer); |
Get the default action class.
|
|
procedure GetEmptyPatternActionClass(out AClass: TBrookActionClass; out AIndex: Integer); |
Get the action class with empty pattern.
|
|
function PatternByActionClass(AClass: TBrookActionClass): string; |
Get the registered pattern of a class.
|
|
function ActionClassByPattern(const APattern: string): TBrookActionClass; |
Get the action class from a patter.
|
|
function ActionClassByClassName(const AName: string): TBrookActionClass; |
Get an action class from its class name.
|
Properties
|
property List: TFPList read FList; |
|
|
property Items[constAIndex:Integer]: PBrookRoute read GetItems
write SetItems; |
The list of routes.
|
Generated by PasDoc 0.15.0.
|