Information object that can be used to obtain information about a file/directory.
More...
#include <vtkPVFileInformation.h>
|
enum | FileTypes {
INVALID = 0,
SINGLE_FILE,
SINGLE_FILE_LINK,
DIRECTORY,
DIRECTORY_LINK,
FILE_GROUP,
DRIVE,
NETWORK_ROOT,
NETWORK_DOMAIN,
NETWORK_SERVER,
NETWORK_SHARE
} |
|
typedef vtkPVInformation | Superclass |
|
typedef vtkObject | Superclass |
|
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.
- See also
- vtkPVFileInformationHelper
Definition at line 37 of file vtkPVFileInformation.h.
◆ Superclass
◆ FileTypes
Enumerator |
---|
INVALID | |
SINGLE_FILE | |
SINGLE_FILE_LINK | |
DIRECTORY | |
DIRECTORY_LINK | |
FILE_GROUP | |
DRIVE | |
NETWORK_ROOT | |
NETWORK_DOMAIN | |
NETWORK_SERVER | |
NETWORK_SHARE | |
Definition at line 58 of file vtkPVFileInformation.h.
◆ vtkPVFileInformation()
vtkPVFileInformation::vtkPVFileInformation |
( |
| ) |
|
|
protected |
◆ ~vtkPVFileInformation()
vtkPVFileInformation::~vtkPVFileInformation |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkPVFileInformation::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVFileInformation::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVFileInformation::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVFileInformation::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ CopyFromObject()
virtual void vtkPVFileInformation::CopyFromObject |
( |
vtkObject * |
object | ) |
|
|
virtual |
◆ CopyToStream()
◆ CopyFromStream()
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
◆ IsDirectory()
static bool vtkPVFileInformation::IsDirectory |
( |
int |
t | ) |
|
|
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.
◆ Initialize()
void vtkPVFileInformation::Initialize |
( |
| ) |
|
Initializes the information object.
◆ GetName()
virtual char* vtkPVFileInformation::GetName |
( |
| ) |
|
|
virtual |
Get the name of the file/directory whose information is represented by this object.
◆ GetFullPath()
virtual char* vtkPVFileInformation::GetFullPath |
( |
| ) |
|
|
virtual |
Get the full path of the file/directory whose information is represented by this object.
◆ GetType()
virtual int vtkPVFileInformation::GetType |
( |
| ) |
|
|
virtual |
Get the type of this file object.
◆ GetHidden()
virtual bool vtkPVFileInformation::GetHidden |
( |
| ) |
|
|
virtual |
Get the state of the hidden flag for the file/directory.
◆ GetContents()
virtual vtkCollection* vtkPVFileInformation::GetContents |
( |
| ) |
|
|
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.
◆ GetExtension()
virtual char* vtkPVFileInformation::GetExtension |
( |
| ) |
|
|
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.
◆ GetSize()
virtual long long vtkPVFileInformation::GetSize |
( |
| ) |
|
|
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.
◆ GetModificationTime()
virtual time_t vtkPVFileInformation::GetModificationTime |
( |
| ) |
|
|
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.
◆ SetExtension()
virtual void vtkPVFileInformation::SetExtension |
( |
const char * |
| ) |
|
|
protectedvirtual |
◆ SetName()
virtual void vtkPVFileInformation::SetName |
( |
const char * |
| ) |
|
|
protectedvirtual |
◆ SetFullPath()
virtual void vtkPVFileInformation::SetFullPath |
( |
const char * |
| ) |
|
|
protectedvirtual |
◆ GetWindowsDirectoryListing()
void vtkPVFileInformation::GetWindowsDirectoryListing |
( |
| ) |
|
|
protected |
◆ GetDirectoryListing()
void vtkPVFileInformation::GetDirectoryListing |
( |
| ) |
|
|
protected |
◆ OrganizeCollection()
void vtkPVFileInformation::OrganizeCollection |
( |
vtkPVFileInformationSet & |
vector | ) |
|
|
protected |
◆ DetectType()
bool vtkPVFileInformation::DetectType |
( |
| ) |
|
|
protected |
◆ GetSpecialDirectories()
void vtkPVFileInformation::GetSpecialDirectories |
( |
| ) |
|
|
protected |
◆ SetHiddenFlag()
void vtkPVFileInformation::SetHiddenFlag |
( |
| ) |
|
|
protected |
◆ Contents
vtkCollection* vtkPVFileInformation::Contents |
|
protected |
◆ SequenceParser
◆ Name
char* vtkPVFileInformation::Name |
|
protected |
◆ FullPath
char* vtkPVFileInformation::FullPath |
|
protected |
◆ Type
int vtkPVFileInformation::Type |
|
protected |
◆ Hidden
bool vtkPVFileInformation::Hidden |
|
protected |
◆ Extension
char* vtkPVFileInformation::Extension |
|
protected |
◆ Size
long long vtkPVFileInformation::Size |
|
protected |
◆ ModificationTime
time_t vtkPVFileInformation::ModificationTime |
|
protected |
◆ FastFileTypeDetection
int vtkPVFileInformation::FastFileTypeDetection |
|
protected |
The documentation for this class was generated from the following file: