ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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>

Inheritance diagram for vtkFileSequenceParser:
Inheritance graph
[legend]
Collaboration diagram for vtkFileSequenceParser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
bool ParseFileSequence (char *file)
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 36 of file vtkFileSequenceParser.h.


Constructor & Destructor Documentation

vtkFileSequenceParser::vtkFileSequenceParser ( ) [protected]
vtkFileSequenceParser::~vtkFileSequenceParser ( ) [protected]

Member Function Documentation

static vtkFileSequenceParser* vtkFileSequenceParser::New ( ) [static]

Reimplemented from vtkObject.

virtual const char* vtkFileSequenceParser::GetClassName ( ) [virtual]

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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.

virtual char* vtkFileSequenceParser::GetSequenceName ( ) [virtual]
virtual int vtkFileSequenceParser::GetSequenceIndex ( ) [virtual]
virtual void vtkFileSequenceParser::SetSequenceName ( const char *  ) [protected, virtual]

Member Data Documentation

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex [protected]

Definition at line 54 of file vtkFileSequenceParser.h.

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex2 [protected]

Definition at line 55 of file vtkFileSequenceParser.h.

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex3 [protected]

Definition at line 56 of file vtkFileSequenceParser.h.

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex4 [protected]

Definition at line 57 of file vtkFileSequenceParser.h.

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex5 [protected]

Definition at line 58 of file vtkFileSequenceParser.h.

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex_last [protected]

Definition at line 59 of file vtkFileSequenceParser.h.

Definition at line 62 of file vtkFileSequenceParser.h.

Definition at line 65 of file vtkFileSequenceParser.h.


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