ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkFileSequenceParser Class Reference

Parses out the base file name of a file sequence and also the specific index of the given file. More...

#include <vtkFileSequenceParser.h>

Inherits vtkObject.

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
bool ParseFileSequence (char *file)
 Extract base file name sequence from the file. More...
 
virtual char * GetSequenceName ()
 
virtual int GetSequenceIndex ()
 

Static Public Member Functions

static vtkFileSequenceParserNew ()
 
static int IsTypeOf (const char *type)
 
static vtkFileSequenceParserSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkFileSequenceParser ()
 
 ~vtkFileSequenceParser ()
 
virtual void SetSequenceName (const char *)
 

Protected Attributes

vtksys::RegularExpression * reg_ex
 
vtksys::RegularExpression * reg_ex2
 
vtksys::RegularExpression * reg_ex3
 
vtksys::RegularExpression * reg_ex4
 
vtksys::RegularExpression * reg_ex5
 
vtksys::RegularExpression * reg_ex_last
 
int SequenceIndex
 
char * SequenceName
 

Detailed Description

Parses out the base file name of a file sequence and also the specific index of the given file.

Given a file name (without path). I will extract the base portion of the file name that is common to all the files in the sequence. It will also provide the current sequence index of the provided file name. by several vtkPVUpdateSuppressor objects.

Definition at line 38 of file vtkFileSequenceParser.h.

Member Typedef Documentation

§ Superclass

Definition at line 42 of file vtkFileSequenceParser.h.

Constructor & Destructor Documentation

§ vtkFileSequenceParser()

vtkFileSequenceParser::vtkFileSequenceParser ( )
protected

§ ~vtkFileSequenceParser()

vtkFileSequenceParser::~vtkFileSequenceParser ( )
protected

Member Function Documentation

§ New()

static vtkFileSequenceParser* vtkFileSequenceParser::New ( )
static

§ GetClassName()

virtual const char* vtkFileSequenceParser::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkFileSequenceParser::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkFileSequenceParser::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkFileSequenceParser* vtkFileSequenceParser::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkFileSequenceParser::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ ParseFileSequence()

bool vtkFileSequenceParser::ParseFileSequence ( char *  file)

Extract base file name sequence from the file.

Returns true if a sequence is detected and sets SequenceName and SequenceIndex.

§ GetSequenceName()

virtual char* vtkFileSequenceParser::GetSequenceName ( )
virtual

§ GetSequenceIndex()

virtual int vtkFileSequenceParser::GetSequenceIndex ( )
virtual

§ SetSequenceName()

virtual void vtkFileSequenceParser::SetSequenceName ( const char *  )
protectedvirtual

Member Data Documentation

§ reg_ex

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex
protected

Definition at line 59 of file vtkFileSequenceParser.h.

§ reg_ex2

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex2
protected

Definition at line 60 of file vtkFileSequenceParser.h.

§ reg_ex3

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex3
protected

Definition at line 61 of file vtkFileSequenceParser.h.

§ reg_ex4

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex4
protected

Definition at line 62 of file vtkFileSequenceParser.h.

§ reg_ex5

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex5
protected

Definition at line 63 of file vtkFileSequenceParser.h.

§ reg_ex_last

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex_last
protected

Definition at line 64 of file vtkFileSequenceParser.h.

§ SequenceIndex

int vtkFileSequenceParser::SequenceIndex
protected

Definition at line 67 of file vtkFileSequenceParser.h.

§ SequenceName

char* vtkFileSequenceParser::SequenceName
protected

Definition at line 70 of file vtkFileSequenceParser.h.


The documentation for this class was generated from the following file: