Class tmacrolist

Unit

Declaration

type tmacrolist = class(torderedrecordlist, istatupdatevalue)

Description

No description available, ancestor torderedrecordlist description follows
No description available, ancestor trecordlist description follows
No description available, ancestor tnullinterfacedobject description follows

Hierarchy

Overview

Methods

Protected procedure finalizerecord(var item); override;
Protected procedure copyrecord(var item); override;
Protected function compare(const l,r): integer;
Protected function getcomparefunc: sortcomparemethodty; override;
Protected procedure setrec(const index: integer; const avalue: msestring);
Protected function getrec(const index: integer): msestring;
Protected procedure resetexpandlevel;
Protected function getvalue(const aname: msestring; var aexpandlevel: integer; out found: pmacroinfoty): msestring;
Protected function callhandler(const aname: msestring;const aparams: msestringarty; var aexpandlevel: integer; out found: pmacroinfoty): msestring;
Protected procedure statreadvalue(const aname: msestring; const reader: tstatreader);
Protected procedure statwritevalue(const aname: msestring; const writer: tstatwriter);
Protected procedure internalexpandmacros(var avalue: msestring; expandlevel: integer; var refindex: integerarty);
Public constructor create(const aoptions: macrooptionsty);
Public constructor create(const aoptions: macrooptionsty; const apredefined: array of macroinfoty);
Public function find(const aname: msestring; out item: pmacroinfoty): boolean;
Public function itembyname(const aname: msestring): pmacroinfoty;
Public function itempo(const index: integer): pmacroinfoty;
Public procedure add(const avalue: tmacrolist); overload;
Public procedure add(const avalue: macroinfoty); overload;
Public procedure add(const avalue: macroinfoarty); overload;
Public procedure add(const names,values: array of msestring; const handler: array of macrohandlerty); overload;
Public procedure expandmacros1(var avalue: msestring);
Public function expandmacros(const avalue: msestring): msestring;
Public procedure expandmacros1(var avalue: msestring; var refindex: integerarty);
Public procedure expandmacros1(var avalues: msestringarty);
Public function asarray: macroinfoarty;
Public function asarray(const addnames: array of msestring; const addvalues: array of msestring): macroinfoarty;
Public procedure asarray(out names,values: msestringarty; out handler: macrohandlerarty);
Public procedure setasarray(const avalue: macroinfoarty);
Public procedure setasarray(const names,values: msestringarty; const handler: macrohandlerarty);
Public procedure setpredefined(const avalue: array of macroinfoty);
Public procedure setpredefined(const avalue: array of macroinfoarty);

Properties

Public property options: macrooptionsty read foptions write foptions;
Public property predefined: macroinfoarty read fpredefined write fpredefined;

Description

Methods

Protected procedure finalizerecord(var item); override;
 
Protected procedure copyrecord(var item); override;
 
Protected function compare(const l,r): integer;
 
Protected function getcomparefunc: sortcomparemethodty; override;
 
Protected procedure setrec(const index: integer; const avalue: msestring);
 
Protected function getrec(const index: integer): msestring;
 
Protected procedure resetexpandlevel;
 
Protected function getvalue(const aname: msestring; var aexpandlevel: integer; out found: pmacroinfoty): msestring;
 
Protected function callhandler(const aname: msestring;const aparams: msestringarty; var aexpandlevel: integer; out found: pmacroinfoty): msestring;
 
Protected procedure statreadvalue(const aname: msestring; const reader: tstatreader);
 
Protected procedure statwritevalue(const aname: msestring; const writer: tstatwriter);
 
Protected procedure internalexpandmacros(var avalue: msestring; expandlevel: integer; var refindex: integerarty);
 
Public constructor create(const aoptions: macrooptionsty);
 
Public constructor create(const aoptions: macrooptionsty; const apredefined: array of macroinfoty);
 
Public function find(const aname: msestring; out item: pmacroinfoty): boolean;
 
Public function itembyname(const aname: msestring): pmacroinfoty;
 
Public function itempo(const index: integer): pmacroinfoty;
 
Public procedure add(const avalue: tmacrolist); overload;
 
Public procedure add(const avalue: macroinfoty); overload;
 
Public procedure add(const avalue: macroinfoarty); overload;
 
Public procedure add(const names,values: array of msestring; const handler: array of macrohandlerty); overload;
 
Public procedure expandmacros1(var avalue: msestring);
 
Public function expandmacros(const avalue: msestring): msestring;
 
Public procedure expandmacros1(var avalue: msestring; var refindex: integerarty);
 
Public procedure expandmacros1(var avalues: msestringarty);
 
Public function asarray: macroinfoarty;
 
Public function asarray(const addnames: array of msestring; const addvalues: array of msestring): macroinfoarty;
 
Public procedure asarray(out names,values: msestringarty; out handler: macrohandlerarty);
 
Public procedure setasarray(const avalue: macroinfoarty);
 
Public procedure setasarray(const names,values: msestringarty; const handler: macrohandlerarty);
 
Public procedure setpredefined(const avalue: array of macroinfoty);
 
Public procedure setpredefined(const avalue: array of macroinfoarty);
 

Properties

Public property options: macrooptionsty read foptions write foptions;
 
Public property predefined: macroinfoarty read fpredefined write fpredefined;
 

Generated by PasDoc 0.16.0.