[vtk-developers] Handling invalid vtp files

Karthik Krishnan karthik.krishnan at kitware.com
Mon Feb 15 00:12:26 EST 2010


On Sun, Feb 14, 2010 at 1:36 PM, Francois Bertel
<francois.bertel at kitware.com> wrote:
> assert("pre: i_in_bounds" && i>=0 && i<this->GetNumberOfTuples());

Yes. Thanks. Precisely that line for bounds checking would be good
toadd. Also assert(!"Unreachable code fragment") in lines where the
code is actually unreachable etc..



More information about the vtk-developers mailing list