Ferreteria/v0.5/@cls/cStati

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Revision as of 16:20, 28 July 2022 by Woozle (talk | contribs) (Created page with "{{fmt/title|Ferreteria class <code>ferret\{{l/ver/class|arr}}\cStati</code>}} {| style="border: solid 1px grey; background: #eef;" |- | [ {{l/ver/class|cLocal}} > ]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Ferreteria class ferret\arr\cStati

[ cLocal > ] cStaticArgs

About

This class is similar in form to cLocal in that it wraps an array, but the value of each element must be a Status object (status\caBase podling). It will automatically create Status objects for each element requested. There is a default class, which can be overridden by name (overrides are stored in an array).

This class used to descend from cLocal, but that caused problems with inconsistent usage (some callers put in values directly, rather than using status objects) and language structure made it easier to prevent this if it became a wrapper for a self-created private cLocal object instead.