server side object used to gather information from, by vtkPVFileInformation.
More...
#include <vtkPVFileInformationHelper.h>
Inherits vtkObject.
server side object used to gather information from, by vtkPVFileInformation.
When collection information, ProcessModule cannot pass parameters to the information object. In case of vtkPVFileInformation, we need data on the server side such as which directory/file are we concerned with. To make such information available, we use vtkPVFileInformationHelper. One creates a server side representation of vtkPVFileInformationHelper and sets attributes on it, then requests a gather information on the helper object.
Definition at line 34 of file vtkPVFileInformationHelper.h.
§ Superclass
§ vtkPVFileInformationHelper()
vtkPVFileInformationHelper::vtkPVFileInformationHelper |
( |
| ) |
|
|
protected |
§ ~vtkPVFileInformationHelper()
vtkPVFileInformationHelper::~vtkPVFileInformationHelper |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkPVFileInformationHelper::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkPVFileInformationHelper::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkPVFileInformationHelper::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkPVFileInformationHelper::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ SetPath()
virtual void vtkPVFileInformationHelper::SetPath |
( |
const char * |
| ) |
|
|
virtual |
Get/Set the path to the directory/file whose information we are interested in.
This is ignored when SpecialDirectories is set to True.
§ GetPath()
virtual char* vtkPVFileInformationHelper::GetPath |
( |
| ) |
|
|
virtual |
Get/Set the path to the directory/file whose information we are interested in.
This is ignored when SpecialDirectories is set to True.
§ SetWorkingDirectory()
virtual void vtkPVFileInformationHelper::SetWorkingDirectory |
( |
const char * |
| ) |
|
|
virtual |
Get/Set the current working directory.
This is needed if Path is relative. The relative path will be converted to absolute path using the working directory specified before obtaining information about it. If 0 (default), then the application's current working directory will be used to flatten relative paths.
§ GetWorkingDirectory()
virtual char* vtkPVFileInformationHelper::GetWorkingDirectory |
( |
| ) |
|
|
virtual |
Get/Set the current working directory.
This is needed if Path is relative. The relative path will be converted to absolute path using the working directory specified before obtaining information about it. If 0 (default), then the application's current working directory will be used to flatten relative paths.
§ GetDirectoryListing()
virtual int vtkPVFileInformationHelper::GetDirectoryListing |
( |
| ) |
|
|
virtual |
Get/Set if the we should attempt to get the information of contents if Path is a directory.
Default value is 0. This is ignored when SpecialDirectories is set to True.
§ SetDirectoryListing()
virtual void vtkPVFileInformationHelper::SetDirectoryListing |
( |
int |
| ) |
|
|
virtual |
Get/Set if the we should attempt to get the information of contents if Path is a directory.
Default value is 0. This is ignored when SpecialDirectories is set to True.
§ DirectoryListingOn()
virtual void vtkPVFileInformationHelper::DirectoryListingOn |
( |
| ) |
|
|
virtual |
Get/Set if the we should attempt to get the information of contents if Path is a directory.
Default value is 0. This is ignored when SpecialDirectories is set to True.
§ DirectoryListingOff()
virtual void vtkPVFileInformationHelper::DirectoryListingOff |
( |
| ) |
|
|
virtual |
Get/Set if the we should attempt to get the information of contents if Path is a directory.
Default value is 0. This is ignored when SpecialDirectories is set to True.
§ GetSpecialDirectories()
virtual int vtkPVFileInformationHelper::GetSpecialDirectories |
( |
| ) |
|
|
virtual |
Get/Set if the query is for special directories.
Off by default. If set to true, Path and DirectoryListing are ignored and the vtkPVFileInformation object is populated with information about special directories such as "My Documents", "Desktop" etc on Windows systems and "Home" on Unix based systems.
§ SetSpecialDirectories()
virtual void vtkPVFileInformationHelper::SetSpecialDirectories |
( |
int |
| ) |
|
|
virtual |
Get/Set if the query is for special directories.
Off by default. If set to true, Path and DirectoryListing are ignored and the vtkPVFileInformation object is populated with information about special directories such as "My Documents", "Desktop" etc on Windows systems and "Home" on Unix based systems.
§ SpecialDirectoriesOn()
virtual void vtkPVFileInformationHelper::SpecialDirectoriesOn |
( |
| ) |
|
|
virtual |
Get/Set if the query is for special directories.
Off by default. If set to true, Path and DirectoryListing are ignored and the vtkPVFileInformation object is populated with information about special directories such as "My Documents", "Desktop" etc on Windows systems and "Home" on Unix based systems.
§ SpecialDirectoriesOff()
virtual void vtkPVFileInformationHelper::SpecialDirectoriesOff |
( |
| ) |
|
|
virtual |
Get/Set if the query is for special directories.
Off by default. If set to true, Path and DirectoryListing are ignored and the vtkPVFileInformation object is populated with information about special directories such as "My Documents", "Desktop" etc on Windows systems and "Home" on Unix based systems.
§ GetFastFileTypeDetection()
virtual int vtkPVFileInformationHelper::GetFastFileTypeDetection |
( |
| ) |
|
|
virtual |
When on, while listing a directory, whenever a group of files is encountered, we verify the type/accessibility of only the first file in the group and assume that all other have similar permissions.
On by default.
§ SetFastFileTypeDetection()
virtual void vtkPVFileInformationHelper::SetFastFileTypeDetection |
( |
int |
| ) |
|
|
virtual |
When on, while listing a directory, whenever a group of files is encountered, we verify the type/accessibility of only the first file in the group and assume that all other have similar permissions.
On by default.
§ GetPathSeparator()
virtual char* vtkPVFileInformationHelper::GetPathSeparator |
( |
| ) |
|
|
virtual |
Returns the platform specific path separator.
§ GetActiveFileIsReadable()
bool vtkPVFileInformationHelper::GetActiveFileIsReadable |
( |
| ) |
|
Returns if this->Path is a readable file.
§ GetActiveFileIsDirectory()
bool vtkPVFileInformationHelper::GetActiveFileIsDirectory |
( |
| ) |
|
Returns if this->Path is a directory.
§ SetPathSeparator()
virtual void vtkPVFileInformationHelper::SetPathSeparator |
( |
const char * |
| ) |
|
|
protectedvirtual |
§ Path
char* vtkPVFileInformationHelper::Path |
|
protected |
§ WorkingDirectory
char* vtkPVFileInformationHelper::WorkingDirectory |
|
protected |
§ DirectoryListing
int vtkPVFileInformationHelper::DirectoryListing |
|
protected |
§ SpecialDirectories
int vtkPVFileInformationHelper::SpecialDirectories |
|
protected |
§ FastFileTypeDetection
int vtkPVFileInformationHelper::FastFileTypeDetection |
|
protected |
§ PathSeparator
char* vtkPVFileInformationHelper::PathSeparator |
|
protected |
The documentation for this class was generated from the following file: