Information object that can be used to obtain information about a file/directory. More...
#include <vtkPVFileInformation.h>


Public Types | |
| enum | FileTypes { INVALID = 0, SINGLE_FILE, SINGLE_FILE_LINK, DIRECTORY, DIRECTORY_LINK, FILE_GROUP, DRIVE, NETWORK_ROOT, NETWORK_DOMAIN, NETWORK_SERVER, NETWORK_SHARE, DIRECTORY_GROUP } |
| typedef vtkPVInformation | Superclass |
Public Types inherited from vtkPVInformation | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | CopyFromObject (vtkObject *object) override |
| Transfer information about a single object into this object. More... | |
| void | Initialize () |
| Initializes the information object. More... | |
| void | CopyToStream (vtkClientServerStream *) override |
| Manage a serialized version of the information. More... | |
| void | CopyFromStream (const vtkClientServerStream *) override |
| Manage a serialized version of the information. More... | |
| virtual char * | GetName () |
| Get the name of the file/directory whose information is represented by this object. More... | |
| virtual char * | GetFullPath () |
| Get the full path of the file/directory whose information is represented by this object. More... | |
| virtual int | GetType () |
| Get the type of this file object. More... | |
| virtual bool | GetHidden () |
| Get the state of the hidden flag for the file/directory. More... | |
| virtual vtkCollection * | GetContents () |
| Get the Contents for this directory. More... | |
| virtual char * | GetExtension () |
| Get the Contents for this directory. More... | |
| virtual long long | GetSize () |
| Get the Contents for this directory. More... | |
| virtual time_t | GetModificationTime () |
| Get the Contents for this directory. More... | |
Public Member Functions inherited from vtkPVInformation | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| virtual void | AddInformation (vtkPVInformation *) |
| Merge another information object. More... | |
| virtual void | CopyParametersToStream (vtkMultiProcessStream &) |
| Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
| virtual void | CopyParametersFromStream (vtkMultiProcessStream &) |
| Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
| virtual int | GetRootOnly () |
| Set/get whether to gather information only from the root. More... | |
Public Member Functions inherited from vtkObject | |
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| bool | GetDebug () |
| void | SetDebug (bool debugFlag) |
| virtual void | Modified () |
| virtual vtkMTimeType | GetMTime () |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
Static Public Member Functions | |
| static vtkPVFileInformation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPVFileInformation * | SafeDownCast (vtkObject *o) |
| static bool | IsDirectory (int t) |
| Helper that returns whether a FileType is a directory (DIRECTORY, DRIVE, NETWORK_ROOT, etc...) Or in other words, a type that we can do a DirectoryListing on. More... | |
| static std::string | GetParaViewSharedResourcesDirectory () |
| Returns the path to the base data directory path holding various files packaged with ParaView. More... | |
| static std::string | GetParaViewExampleFilesDirectory () |
| Return the path of the example data packaged with ParaView. More... | |
| static std::string | GetParaViewDocDirectory () |
| Return the path of the documents packaged with ParaView. More... | |
Static Public Member Functions inherited from vtkPVInformation | |
| static int | IsTypeOf (const char *type) |
| static vtkPVInformation * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static vtkTypeBool | IsTypeOf (const char *name) |
| static vtkObjectBase * | New () |
| static vtkObjectBase * | New () |
Protected Attributes | |
| vtkCollection * | Contents |
| vtkFileSequenceParser * | SequenceParser |
| char * | Name |
| char * | FullPath |
| int | Type |
| bool | Hidden |
| char * | Extension |
| long long | Size |
| time_t | ModificationTime |
| int | FastFileTypeDetection |
| bool | ReadDetailedFileInformation |
Protected Attributes inherited from vtkPVInformation | |
| int | RootOnly |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Information object that can be used to obtain information about a file/directory.
vtkPVFileInformation can be used to collect information about file or directory. vtkPVFileInformation can collect information from a vtkPVFileInformationHelper object alone.
Definition at line 39 of file vtkPVFileInformation.h.
Definition at line 43 of file vtkPVFileInformation.h.
| Enumerator | |
|---|---|
| INVALID | |
| SINGLE_FILE | |
| SINGLE_FILE_LINK | |
| DIRECTORY | |
| DIRECTORY_LINK | |
| FILE_GROUP | |
| DRIVE | |
| NETWORK_ROOT | |
| NETWORK_DOMAIN | |
| NETWORK_SERVER | |
| NETWORK_SHARE | |
| DIRECTORY_GROUP | |
Definition at line 60 of file vtkPVFileInformation.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
Reimplemented from vtkPVInformation.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
|
overridevirtual |
Transfer information about a single object into this object.
The object must be a vtkPVFileInformationHelper.
Reimplemented from vtkPVInformation.
|
overridevirtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
overridevirtual |
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
|
static |
Helper that returns whether a FileType is a directory (DIRECTORY, DRIVE, NETWORK_ROOT, etc...) Or in other words, a type that we can do a DirectoryListing on.
| void vtkPVFileInformation::Initialize | ( | ) |
Initializes the information object.
|
virtual |
Get the name of the file/directory whose information is represented by this object.
|
virtual |
Get the full path of the file/directory whose information is represented by this object.
|
virtual |
Get the type of this file object.
|
virtual |
Get the state of the hidden flag for the file/directory.
|
virtual |
Get the Contents for this directory.
Returns a collection with vtkPVFileInformation objects for the contents of this directory if Type == DIRECTORY or the contents of this file group if Type == FILE_GROUP or the contents of this directory group if Type == DIRECTORY_GROUP.
|
virtual |
Get the Contents for this directory.
Returns a collection with vtkPVFileInformation objects for the contents of this directory if Type == DIRECTORY or the contents of this file group if Type == FILE_GROUP or the contents of this directory group if Type == DIRECTORY_GROUP.
|
virtual |
Get the Contents for this directory.
Returns a collection with vtkPVFileInformation objects for the contents of this directory if Type == DIRECTORY or the contents of this file group if Type == FILE_GROUP or the contents of this directory group if Type == DIRECTORY_GROUP.
|
virtual |
Get the Contents for this directory.
Returns a collection with vtkPVFileInformation objects for the contents of this directory if Type == DIRECTORY or the contents of this file group if Type == FILE_GROUP or the contents of this directory group if Type == DIRECTORY_GROUP.
|
static |
Returns the path to the base data directory path holding various files packaged with ParaView.
|
static |
Return the path of the example data packaged with ParaView.
|
static |
Return the path of the documents packaged with ParaView.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 152 of file vtkPVFileInformation.h.
|
protected |
Definition at line 153 of file vtkPVFileInformation.h.
|
protected |
Definition at line 155 of file vtkPVFileInformation.h.
|
protected |
Definition at line 156 of file vtkPVFileInformation.h.
|
protected |
Definition at line 157 of file vtkPVFileInformation.h.
|
protected |
Definition at line 158 of file vtkPVFileInformation.h.
|
protected |
Definition at line 159 of file vtkPVFileInformation.h.
|
protected |
Definition at line 160 of file vtkPVFileInformation.h.
|
protected |
Definition at line 161 of file vtkPVFileInformation.h.
|
protected |
Definition at line 177 of file vtkPVFileInformation.h.
|
protected |
Definition at line 178 of file vtkPVFileInformation.h.
1.8.13 on Tue May 18 2021