title: Common name for a public access read-only, but private access read/write variable
body: <p>A project I work on has many public access read-only, but private access read/write variables. I am looking for a concise (preferably one-word) name for this.</p>
  <p>For example, in the following situation, I would like to say &quot;<code>bar</code> is a _____ variable&quot;.</p>
  <pre class="lang-cpp prettyprint-override"><code>class Foo {
   public:
    const int&amp; GetBar() { return bar; }
   private:
    int bar;
  }
  </code></pre>
  <p>I've considered:</p>
  <ul>
  <li><code>bar</code> is a &quot;read-only&quot; variable
  <ul>
  <li>I find this to be inaccurate since it is only read-only in a public context.</li>
  </ul>
  </li>
  <li><code>bar</code> is a &quot;public read-only&quot; variable
  <ul>
  <li>I find this to be inaccurate since it does not clarify how it behaves in a private context, and the name is somewhat long.</li>
  </ul>
  </li>
  <li><code>bar</code> is a &quot;private write&quot; variable
  <ul>
  <li>This is the best I have come up with. It explains that the variable may only be written to in a private context, and reading in a public context is assumed. However, I think it is still a confusing name.</li>
  </ul>
  </li>
  </ul>
  <p>I'm also fine with coming up with a new name, such as using metaphors to represent the situation.</p>
  <p>Any suggestions?</p>