[Paraview] Reading directory contents cross platform

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed May 10 16:55:55 EDT 2006


Terry Jordan wrote:
> I am writing an OpenFOAM reader.  Problem is OpenFOAM uses multiple
> files per timestep and the filenames are not specified so I need to
> actually read the directory contents to create the list of filenames.
> So what I am looking for is a way to read a directory's  contents
> that is cross platform and will meet the VTK coding standards.  Can
> anyone provide me with some assistance?  Thanks in advance. 

Are you looking for:

kwsys::Directory

or the old vtk one:

vtkDirectory

HTH
Mathieu


More information about the ParaView mailing list