Previous Table of Contents Next


18.3.11 Mapping for Read-Only Attributes


   In Microsoft ODL, an attribute preceded by the keyword [propget] is interpreted as only supporting an accessor function, which is used to retrieve the value of the attribute. In the example above, the mapping of the attribute Balance is mapped to the following statements in OMG IDL.

   // OMG IDL

   interface Account{readonly attribute float Balance;...};