Class TAttributeList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAttributeList = class(TStringList)

Description

A list of attributes.

Currently this is a simple string list, and you can get the values with the values property. (with c++ I would have used map<string, string> but this doesn't exist in Pascal)

Hierarchy

  • TStringList
  • TAttributeList

Overview

Methods

Public constructor Create;
Public function getAttribute(i: integer): TTreeAttribute;
Public function getAttributeIgnoringNS(const name: string; const cmpFunction: TStringComparisonFunc): TTreeAttribute;
Public function getAttributeWithNSPrefix(const namespaceprefix, localname: string; const cmpFunction: TStringComparisonFunc): TTreeAttribute;
Public function getValue(i: integer): string;
Public procedure add(const name, value: string; const namespace: INamespace = nil);
Public procedure add(att: TTreeNode);
Public function clone: TAttributeList;
Public function GetEnumerator: TAttributeEnumerator;
Public destructor Destroy; override;

Properties

Public property Items[i:integer]: TTreeAttribute read getAttribute;
Public property Values[i:integer]: string read getValue;

Description

Methods

Public constructor Create;
 
Public function getAttribute(i: integer): TTreeAttribute;
 
Public function getAttributeIgnoringNS(const name: string; const cmpFunction: TStringComparisonFunc): TTreeAttribute;
 
Public function getAttributeWithNSPrefix(const namespaceprefix, localname: string; const cmpFunction: TStringComparisonFunc): TTreeAttribute;
 
Public function getValue(i: integer): string;
 
Public procedure add(const name, value: string; const namespace: INamespace = nil);
 
Public procedure add(att: TTreeNode);
 
Public function clone: TAttributeList;
 
Public function GetEnumerator: TAttributeEnumerator;
 
Public destructor Destroy; override;
 

Properties

Public property Items[i:integer]: TTreeAttribute read getAttribute;
 
Public property Values[i:integer]: string read getValue;
 

Generated by PasDoc 0.14.0.