<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to keywords-get</title><link>https://sourceforge.net/p/asil/wiki/keywords-get/</link><description>Recent changes to keywords-get</description><atom:link href="https://sourceforge.net/p/asil/wiki/keywords-get/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 19 Feb 2014 13:00:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/asil/wiki/keywords-get/feed" rel="self" type="application/rss+xml"/><item><title>keywords-get modified by Will Pittenger</title><link>https://sourceforge.net/p/asil/wiki/keywords-get/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Used to declare one of two possible property accessors that a &lt;strong&gt;&lt;a class="" href="../keywords-property"&gt;property&lt;/a&gt;&lt;/strong&gt; can have.  (The other is the &lt;strong&gt;&lt;a class="" href="../keywords-set"&gt;set&lt;/a&gt;&lt;/strong&gt; accessor.)  &lt;strong&gt;get&lt;/strong&gt; accessors either return the value in a data member or compute a value to return.  (A "computation" might be a simple type-cast.)  &lt;strong&gt;get&lt;/strong&gt; accessors are implicitly &lt;strong&gt;&lt;a class="" href="/p/asil/wiki/keywords-const/"&gt;const&lt;/a&gt;&lt;/strong&gt;.  A &lt;strong&gt;get&lt;/strong&gt; accessor always returns the same type that the &lt;strong&gt;&lt;a class="" href="../keywords-property"&gt;property&lt;/a&gt;&lt;/strong&gt; was declared as.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;(\public\ | \protected\ | \private\) {[\static\] | [\virtual\] | [\final\] | [\abstract\]} \property\ /TypeDescriptor/ /identifier/
  [{[\virtual\] | [\final\] | [\abstract\]} \get\
    ' Return some value
  ]

  [{[\virtual\] | [\final\] | [\abstract\]} \set\
    ' Store the value in \value\ somewhere
  ]
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Neither properties and property accessors can't be declared with both the &lt;strong&gt;&lt;a class="" href="../keywords-virtual"&gt;virtual&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a class="" href="/p/asil/wiki/keywords-abstract/"&gt;abstract&lt;/a&gt;&lt;/strong&gt; keywords.  For more on what /TypeDescriptor/ can be, see &lt;a class="" href="../Appendices-Terms-Type%20descriptors"&gt;Type descriptors&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Will Pittenger</dc:creator><pubDate>Wed, 19 Feb 2014 13:00:18 -0000</pubDate><guid>https://sourceforge.net71c8d376612e6700ebb5d9eeef880970eda7befe</guid></item></channel></rss>