Jump to content

Attribute: Difference between revisions

From EDM2
Created page with "A specialized syntax for declaring "set" and "get" methods. Method names corresponding to attributes always begin with "_set_" or "_get_". An attribute name is declared in the..."
 
Ak120 (talk | contribs)
m Redirected page to SOM Glossary#A
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A specialized syntax for declaring "set" and "get" methods. Method names corresponding to attributes always begin with "_set_" or "_get_". An attribute name is declared in the body of the interface statement for a class. Method procedures for get/set methods are automatically defined by the SOM Compiler unless an attribute is declared as "noget/noset". Likewise, a corresponding instance variable is automatically defined unless an attribute is declared as "nodata". IDL also supports "readonly" attributes, which specify only a "get" method. (Contrast an attribute with an instance variable.)
#REDIRECT[[SOM_Glossary#A]]
 
[[Category:Glossary]]

Latest revision as of 18:47, 6 March 2020

Redirect to: