comp.lang.ada
 help / color / mirror / Atom feed
* On packages hierarchy
@ 2014-07-28 13:41 Victor Porton
  2014-07-28 16:03 ` Shark8
  0 siblings, 1 reply; 8+ messages in thread
From: Victor Porton @ 2014-07-28 13:41 UTC (permalink / raw)


I am going to create the package RDF.Raptor.Iostream which would be Ada 
bindings around
http://librdf.org/raptor/api/raptor2-section-iostream.html

Afterward, I am going to create Ada IO stream (derived from 
Root_Stream_Type) which encaspulates (wraps) RDF.Raptor.Iostream and 
reversely RDF.Raptor.Iostream which encaspulates (wraps) Root_Stream_Type.

Should packages which wrap each other be in child packages of 
RDF.Raptor.Iostream? I think no, because they do not require access to 
internals (private part) of RDF.Raptor.Iostream but child packages have 
access to private parts.

So, should they be siblings, like RDF.Raptor.Iostream_To_Ada and 
RDF.Raptor.Iostream_From_Ada? (Also please help to conceive good names for 
these packages.)

-- 
Victor Porton - http://portonvictor.org


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-29 21:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 13:41 On packages hierarchy Victor Porton
2014-07-28 16:03 ` Shark8
2014-07-28 16:35   ` Victor Porton
2014-07-28 23:24     ` Shark8
2014-07-29 12:36       ` Victor Porton
2014-07-29 18:44         ` Shark8
2014-07-29 19:42           ` Simon Wright
2014-07-29 21:26             ` Shark8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox