🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.middleware.opendoc
Article #1

Question about OpenDoc Class Ref...

#1
From: Max Headroom
Date: Wed, 03 Apr 1996 23:57
30 lines
1852 bytes
While strolling through the OpenDoc Class Reference recently (just now...)
I noticed (what at first seemed a typo but later...) an unusual (?) argument
"type"ing (?) for lack of a better word...  For example, in the ODObject 
class, there is a method AcquireExtension which has one argument:
"in ODType extensionName".  The method prototype would be:

ODExtension AcquireExtension(in ODType extensionName) ;

The "Discussion" portion of the reference states:  "Your part calls this 
method to obtain a reference to an extension object with the specified 
extension type." Well, okay.  That would (to me) be:

const ODExtension& AcquireExtension(ODType extensionName) ;

What am I missing (alot, I think...)?  What is that "in" type thing at the 
top, anyway? (Note: there are many more methods described in this manner 
throughout the manual, so I doubt that there could be typos...).

Thank you for putting up with such a dumb question...

-= Max =-

-- 
\_         \_       \_\_\_      \_      \_        "Two minds, but with one 
 \_\_     \_\_     \_     \_     \_      \_        single memory!" - Max  
  \_ \_  \_  \_   \_        \_      \_  \_           
   \_   \_    \_   \_\_\_\_\_\_        \_         ========================
    \_         \_   \_        \_      \_ \_       | Max Headroom is:     |
     \_         \_   \_        \_   \_      \_    |  media @ netcom.com  |
      \_         \_   \_        \_   \_      \_   ========================
Technical Details
Message-ID: <mediaDpB97A.G4s@netcom.com>
Path: arc1-ca.pugleaf.net!netcom.com!media

Show Full Headers
Complete Article Headers
Newsgroups: comp.soft-sys.middleware.opendoc,comp.lang.c++
Path: arc1-ca.pugleaf.net!netcom.com!media
From: media@netcom.com (Max Headroom)
Subject: Question about OpenDoc Class Ref...
Message-ID: <mediaDpB97A.G4s@netcom.com>
Followup-To: poster
Keywords: huh?
Organization: 20 Minutes Into The Future
Date: Wed, 3 Apr 1996 23:57:10 GMT
Sender: media@netcom.netcom.com