Class TX3DFieldList

Unit

Declaration

type TX3DFieldList = class(specialize TObjectList<TX3DField>)

Description

Hierarchy

Overview

Methods

Public function IndexOfName(const AName: string): integer;
Public function IndexOfExposedEvent(const EventName: string; out Event: TX3DEvent): Integer;

Properties

Public property ByName[constAName:string]: TX3DField read GetByName;

Description

Methods

Public function IndexOfName(const AName: string): integer;

Searches for a field with given Name, returns it's index or -1 if not found.

Public function IndexOfExposedEvent(const EventName: string; out Event: TX3DEvent): Integer;

Returns if EventName is an event implicitly exposed by one of our exposed fields (i.e. set_xxx or xxx_changed). If yes, then returns index of event, and the event reference itself (so always Fields[ReturnedIndex].ExposedEvent[ReturnedEvent.InEvent] = ReturnedEvent). Otherwise, returns -1.

Properties

Public property ByName[constAName:string]: TX3DField read GetByName;

Access field by name. Raises EX3DNotFound if the given Name doesn't exist.


Generated by PasDoc 0.16.0.