title: C++ pointer to class in a kind
body: <p>This is a snippet of an open source code. Full source code is available <a href="https://github.com/gec/dnp3/blob/master/src/opendnp3/DNP3/ResponseContext.h" rel="nofollow">https://github.com/gec/dnp3/blob/master/src/opendnp3/DNP3/ResponseContext.h</a></p>
  
  <pre><code>ObjectWriteIterator owi = arAPDU.WriteContiguous(apObject, start,stop);
  
    for(size_t i = start; i &lt;= stop; ++i) {       
      if(owi.IsEnd()) { // out of  space in the fragment          
         this-&gt;mStaticWriteMap[arKey] =
                boost::bind(&amp;ResponseContext::WriteStaticObjects&lt;T&gt;, this, apObject,
           arStart, arStop, arKey, _1);                       return false;       
       }
  
      apObject-&gt;Write(*owi, arStart-&gt;mValue);         
      ++arStart; //increment the iterators
      ++owi;     
     }
  </code></pre>
  
  <hr>
  
  <pre><code>ObjectWriteIterator::ObjectWriteIterator() :  
    mpPos(NULL),  
    mIndex(1), 
    mStart(0),   
    mStop(0),  
    mObjectSize(0)   
  {}
  </code></pre>
  
  <p>My question is: I don't understand is where <code>*owi</code> is referring in this context.</p>