1 #ifndef __vtkExodusIIReaderVariableCheck_h
2 #define __vtkExodusIIReaderVariableCheck_h
6 #include <vtksys/RegularExpression.hxx>
7 #include <vtksys/String.hxx>
8 #include <vtkstd/vector>
27 virtual vtkstd::vector<vtksys_stl::string>::size_type
Length();
30 vtkstd::vector<vtkExodusIIReaderPrivate::ArrayInfoType>& arr,
42 vtkstd::vector<vtkExodusIIReaderPrivate::ArrayInfoType>& arrays );
66 virtual vtkstd::vector<vtksys_stl::string>::size_type
Length();
84 virtual vtkstd::vector<vtksys_stl::string>::size_type
Length();
100 virtual vtkstd::vector<vtksys_stl::string>::size_type
Length();
121 #endif // __vtkExodusIIReaderVariableCheck_h
virtual bool Add(vtksys_stl::string name, const int *truth)
Add a name to the sequence. Returns true if any more names may be added.
virtual int Accept(vtkstd::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arr, int startIndex, vtkExodusIIReaderPrivate *priv, int objtyp)
Accept this sequence. (Add an entry to the end of arr.) Must return Length().
vtksys::RegularExpression RegExp
vtksys_stl::string Endings
vtksys_stl::string Endings
virtual bool Add(vtksys_stl::string name, const int *)
Add a name to the sequence. Returns true if any more names may be added.
virtual vtkstd::vector< vtksys_stl::string >::size_type Length()
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
virtual bool Add(vtksys_stl::string name, const int *truth)=0
Add a name to the sequence. Returns true if any more names may be added.
virtual bool StartInternal(vtksys_stl::string name, const int *, int)
Subclasses implement this and returns true if any more names are acceptable.
This looks for symmetric tensors of a given rank and dimension.
vtksys_stl::string VarName
This always accepts a single array name as a scalar. It is the fallback for all other checkers...
This class holds metadata for an Exodus file.
virtual vtkstd::vector< vtksys_stl::string >::size_type Length()
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
vtkExodusIIReaderTensorCheck(const char *seq, int n, int rank, int dim)
vtkExodusIIReaderVectorCheck(const char *seq, int n)
vtksys_stl::string CellType
bool StartIntegrationPoints(vtksys_stl::string cellType, vtksys_stl::string iptName)
bool UniquifyName(vtkExodusIIReaderPrivate::ArrayInfoType &ainfo, vtkstd::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arrays)
bool CheckTruth(const int *truth)
Utility that subclasses may call from within Add() to verify that the new variable is defined on the ...
vtkstd::set< vtksys_stl::string > IntPtNames
vtkstd::vector< int > IntPtMin
virtual bool StartInternal(vtksys_stl::string name, const int *, int)
Subclasses implement this and returns true if any more names are acceptable.
This looks for n-D vectors whose names are identical except for a single final character.
vtkExodusIIReaderIntPointCheck()
bool AddIntegrationPoint(vtksys_stl::string iptName)
virtual bool StartInternal(vtksys_stl::string name, const int *, int)
Subclasses implement this and returns true if any more names are acceptable.
vtkstd::vector< int > IntPtMax
Abstract base class for glomming arrays of variable names.
vtksys_stl::string Prefix
This looks for integration-point variables whose names contain an element shape and digits specifying...
vtkExodusIIReaderScalarCheck()
vtkstd::vector< vtksys_stl::string > OriginalNames
vtkstd::vector< int > SeqTruth
virtual ~vtkExodusIIReaderVariableCheck()
virtual bool Add(vtksys_stl::string, const int *)
Add a name to the sequence. Returns true if any more names may be added.
virtual bool StartInternal(vtksys_stl::string name, const int *, int)
Subclasses implement this and returns true if any more names are acceptable.
vtkExodusIIReaderVariableCheck()
virtual bool StartInternal(vtksys_stl::string name, const int *truth, int numTruth)=0
Subclasses implement this and returns true if any more names are acceptable.
virtual vtkstd::vector< vtksys_stl::string >::size_type Length()
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
virtual vtkstd::vector< vtksys_stl::string >::size_type Length()
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
virtual bool Add(vtksys_stl::string name, const int *truth)
Add a name to the sequence. Returns true if any more names may be added.
virtual bool Start(vtksys_stl::string name, const int *truth, int numTruth)
Initialize a sequence of names. Returns true if any more names are acceptable.
A struct to hold information about time-varying arrays.