Previous Table of Contents Next


1.2.9 Attributes


   An interface may have attributes. An attribute is logically equivalent to declaring a pair of accessor functions: one to retrieve the value of the attribute and one to set the value of the attribute.

   An attribute may be read-only, in which case only the retrieval accessor function is defined.