View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002030Old ParaView Bugs public2005-07-07 13:242005-07-07 13:24
ReporterBrad King 
Assigned ToBerk Geveci 
PriorityhighSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Summary0002030: Better ordering for readers and CanReadFile
DescriptionSome readers implement CanReadFile and others do not. Currently if a reader that does not have CanReadFile comes before a reader with CanReadFile it will always be used. Try opening VTKData/Data/teapot.g with the Exodus reader enabled.

Selecting a reader should follow steps like this:

1.) Select a set of candidates based on extension.
2.) Call CanReadFile on those that provide it. If any returns non-zero use the first highest return value.
3.) Otherwise use the first reader that does not have CanReadFile.

We should also have a better review process for which readers can implement CanReadFile. Since the method has several return values it is sometimes possible to do some preliminary quick checks even if a full CanReadFile cannot be implemented.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team