This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > Ens.BPL.Counter


class Ens.BPL.Counter extends %Library.RegisteredObject

This class is an internal detail of the implemetation of the BPL Compiler.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Index as %Integer [ Private , InitialExpression = 0 ];
This holds the index of the next state
Property methods: IndexDisplayToLogical(), IndexGet(), IndexIsValid(), IndexLogicalToDisplay(), IndexNormalize(), IndexSet()
property Prefix as %String;
This defines the prefix
Property methods: PrefixDisplayToLogical(), PrefixGet(), PrefixIsValid(), PrefixLogicalToDisplay(), PrefixLogicalToOdbc(), PrefixNormalize(), PrefixSet()

Methods (Including Private)

private method %OnNew(initvalue As %CacheString) as %Status
This method initializes the object on construction
method Current() as %String
This method gets the current count
This method gets the next count

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window