23 #ifndef vtkSMReaderFactory_h 24 #define vtkSMReaderFactory_h 50 void PrintSelf(ostream& os,
vtkIndent indent)
override;
61 void RegisterPrototype(
const char* xmlgroup,
const char* xmlname);
70 bool CanReadFile(
const char* filename,
vtkSMSession* session);
78 vtkGetStringMacro(ReaderName);
87 vtkGetStringMacro(ReaderGroup);
120 static bool TestFileReadability(
const char* filename,
vtkSMSession* session);
130 virtual const char* GetSupportedFileTypes(
vtkSMSession* session);
138 virtual std::vector<FileTypeDetailed> GetSupportedFileTypesDetailed(
vtkSMSession* session);
147 static bool CanReadFile(
const char* filename,
vtkSMProxy* reader);
148 static bool CanReadFile(
const char* filename,
const char* readerxmlgroup,
155 unsigned int GetNumberOfRegisteredPrototypes();
161 virtual void UpdateAvailableReaders();
167 void AddGroup(
const char* groupName);
168 void RemoveGroup(
const char* groupName);
182 static void AddReaderToWhitelist(
const char* readerxmlgroup,
const char* readerxmlname);
199 void RegisterPrototype(
200 const char* xmlgroup,
const char* xmlname,
const char* extensions,
const char* description);
205 static bool GetFilenameIsDirectory(
const char* fname,
vtkSMSession* session);
207 vtkSetStringMacro(ReaderName);
208 vtkSetStringMacro(ReaderGroup);
219 vtkInternals* Internals;
static const std::string SUPPORTED_TYPES_DESCRIPTION
Description of the file type used for all supported types.
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
is a factory for creating a reader proxy based on the filename/extension.
static const std::string ALL_FILES_DESCRIPTION
Description of the file type used for all files.
superclass for most server manager classes
proxy for a VTK object(s) on a server
std::vector< std::string > FilenamePatterns
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
Manages allocation and freeing for a string list.