From: David Wallace <averon@argonet.co.uk>
Subject: Re: Can you help with an Ada 95 OO Problem (Solution !!!)
Date: 1997/01/21
Date: 1997-01-21T00:00:00+00:00 [thread overview]
Message-ID: <na.e91cab4750.a50140averon@argonet.co.uk> (raw)
In-Reply-To: na.fb04c5474f.a50140averon@argonet.co.uk
Thanks to Jon and JDesquilbet for the solution.
The answer is to make the call to the parent type operation as follows:
Htt.Headers.Init(Obj => Header(Obj.all)'Access);
Obj.all is the object. Header(Obj.all) _converts_ towards the _root_
(perfectly safe) and the 'Access generates the access value for the
call on the parent operation.
Many thanks,
Dave Wallace
--
--. --. --. --. : : --- --- .---------------------------------------------.
|_| |_| | _ | | | | |_ | |Internet provider for all Acorn RISC machines|
| | |\ | | | | |\| | | '---------------------------------------------'
| | | \ |_| |_| | | |__ | averon@argonet.co.uk
next prev parent reply other threads:[~1997-01-21 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-18 0:00 Can you help with an Ada 95 OO Problem David Wallace
1997-01-18 0:00 ` Matthew Heaney
1997-01-19 0:00 ` David Wallace
1997-01-21 0:00 ` David Wallace [this message]
1997-01-20 0:00 ` Jon S Anthony
1997-01-21 0:00 ` Jerome Desquilbet
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox