<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 10:47 AM, Jatin Parekh <span dir="ltr"><<a href="mailto:jatinparekh93@gmail.com" target="_blank">jatinparekh93@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">VTKIOGEOJSON_EXPORT</blockquote></div><br>Means that you need to put this macro (defined by vtk's cmake scripts) in your class definitions. It makes declspecs for windows shared lib builds. As Aashish says, see other vtk headers for examples. You will see how they all include a configured header that defines it.</div>
<div class="gmail_extra"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">has 2 includes</span></blockquote>
<div> </div><div class="gmail_extra">The multiple headers is a vtk style guideline. To keep compilation quick and declarations contained the guidelines recommend a single include per header file. In practice we need two since modularization for the modern export macros but that is beside the point. If you need more than three includes in your header then you should rethink the design. If you have two or three then you can get through this style check by adding a short comment after each include which describes why you need to include more than one header.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">See: <a href="https://docs.google.com/a/kitware.com/document/d/1nzinw-dR5JQRNi_gb8qwLL5PnkGMK2FETlQGLr10tZw/edit">https://docs.google.com/a/kitware.com/document/d/1nzinw-dR5JQRNi_gb8qwLL5PnkGMK2FETlQGLr10tZw/edit</a> </div>
<div class="gmail_extra">for a wealth of information about vtk's style guidelines.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
<br></div><div class="gmail_extra"><br><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
</div></div>