35 #ifndef vtkSMReaderFactory_h 36 #define vtkSMReaderFactory_h 62 void RegisterPrototype(
const char* xmlgroup,
const char* xmlname);
71 bool CanReadFile(
const char* filename,
vtkSMSession* session);
79 vtkGetStringMacro(ReaderName);
88 vtkGetStringMacro(ReaderGroup);
121 static bool TestFileReadability(
const char* filename,
vtkSMSession* session);
131 virtual const char* GetSupportedFileTypes(
vtkSMSession* session);
140 static bool CanReadFile(
const char* filename,
vtkSMProxy* reader);
141 static bool CanReadFile(
const char* filename,
const char* readerxmlgroup,
148 unsigned int GetNumberOfRegisteredPrototypes();
154 virtual void UpdateAvailableReaders();
160 void AddGroup(
const char* groupName);
161 void RemoveGroup(
const char* groupName);
175 static void AddReaderToWhitelist(
const char* readerxmlgroup,
const char* readerxmlname);
182 void RegisterPrototype(
183 const char* xmlgroup,
const char* xmlname,
const char* extensions,
const char* description);
188 static bool GetFilenameIsDirectory(
const char* fname,
vtkSMSession* session);
190 vtkSetStringMacro(ReaderName);
191 vtkSetStringMacro(ReaderGroup);
202 vtkInternals* Internals;
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
is a factory for creating a reader proxy based on the filename/extension.
superclass for most server manager classes
static vtkSMObject * New()
proxy for a VTK object(s) on a server
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
Manages allocation and freeing for a string list.
void PrintSelf(ostream &os, vtkIndent indent) override