From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Run-time accessibility checks
Date: Thu, 11 Dec 2008 12:21:34 +0100
Date: 2008-12-11T12:21:35+01:00 [thread overview]
Message-ID: <4940f7be$0$30232$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <u7htidgqfmwu$.i9oewoweyrhe$.dlg@40tude.net>
Dmitry A. Kazakov schrieb:
> This is what I call abstract record interface. For each component it will
> have two operations:
>
> function ".<component>" (R : Abstract_Record_Type)
> return Component_Type is abstract;
> procedure ".<component>"
> (R : in out Abstract_Record_Type; C : Component_Type) is abstract;
>
> The compiler uses the second (setter) for all LHS X.Component.
That with pre/post/invariant constraints, in case the
component setting procedure has access to the object
containing the component.
Could pre/post/invariant also help when checking order of
component assignments?
(These are called "assigner commands" in Eiffel.)
next prev parent reply other threads:[~2008-12-11 11:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-06 10:15 Run-time accessibility checks (was: Construction initialization problem) Dmitry A. Kazakov
2008-12-06 17:10 ` Ludovic Brenta
2008-12-07 8:44 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-07 14:56 ` Ludovic Brenta
2008-12-07 19:22 ` Dmitry A. Kazakov
2008-12-11 1:03 ` Randy Brukardt
2008-12-11 9:08 ` Dmitry A. Kazakov
2008-12-11 0:55 ` Run-time accessibility checks (was: Construction initialization problem) Randy Brukardt
2008-12-11 9:48 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-11 11:21 ` Georg Bauhaus [this message]
2008-12-11 11:40 ` Dmitry A. Kazakov
2008-12-11 22:15 ` Run-time accessibility checks (was: Construction initialization problem) Randy Brukardt
2008-12-11 22:31 ` Randy Brukardt
2008-12-13 0:49 ` Randy Brukardt
2008-12-13 9:06 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-16 1:53 ` Randy Brukardt
2008-12-16 9:28 ` Dmitry A. Kazakov
2008-12-16 22:21 ` Randy Brukardt
2008-12-17 8:54 ` Dmitry A. Kazakov
2008-12-12 9:21 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox