TpsIndex class

A KEY or INDEX of a table.

Constructors

TpsIndex({required String externalFile, required String name, required int flags, required List<TpsKeyPart> parts})
Creates an index description.

Properties

allowsDuplicates → bool
DUP: several rows may share the same key.
no setter
excludesEmpty → bool
OPT: rows whose key fields are all blank are left out.
no setter
externalFile → String
The key's external name (Clarion NAME() attribute), or empty. In real files the entries of such keys are still in the .tps, and key reads use them.
final
flags → int
Raw flags: 0x01 DUP, 0x02 OPT, 0x04 NOCASE.
final
hashCode → int
The hash code for this object.
no setterinherited
ignoresCase → bool
NOCASE: text compares without case.
no setter
label → String
Name without the PRE: table prefix.
no setter
name → String
Full Clarion name, e.g. DEP:KEYNUM.
final
parts → List<TpsKeyPart>
The fields this key is built from, most significant first.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited