1 #ifndef __vtkURIHandler_h 2 #define __vtkURIHandler_h 18 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
20 vtkGetStringMacro (HostName);
21 vtkSetStringMacro (HostName);
26 virtual void StageFileRead (
const char *source,
const char * destination );
27 virtual void StageFileWrite (
const char *source,
const char * destination );
31 virtual void StageFileRead(
const char * source,
32 const char * destination,
35 const char *hostname);
37 virtual void StageFileWrite(
const char *source,
41 const char *sessionID );
48 virtual int CanHandleURI (
const char * vtkNotUsed(uri) ) {
return 0; };
52 size_t BufferedWrite (
char *buffer,
size_t size,
size_t nitems );
57 virtual void SetLocalFile (FILE *localFile);
61 int ProgressCallback(FILE* outputFile,
double dltotal,
double dlnow,
double ultotal,
double ulnow);
63 vtkGetMacro ( RequiresPermission,
int );
64 vtkSetMacro ( RequiresPermission,
int );
67 vtkGetStringMacro ( Prefix );
68 vtkSetStringMacro ( Prefix );
69 vtkGetStringMacro ( Name );
70 vtkSetStringMacro ( Name );
76 virtual void InitTransfer ( );
77 virtual int CloseTransfer ( )
82 int RequiresPermission;
virtual int CanHandleURI(const char *vtkNotUsed(uri))
need something that goes the other way too...
FILE * LocalFile
local file, it gets passed to C functions in libcurl