VTK  9.2.6
vtkExodusIIReaderScalarCheck Class Reference

This always accepts a single array name as a scalar. It is the fallback for all other checkers. More...

#include <vtkExodusIIReaderVariableCheck.h>

Inheritance diagram for vtkExodusIIReaderScalarCheck:
[legend]
Collaboration diagram for vtkExodusIIReaderScalarCheck:
[legend]

Public Member Functions

 vtkExodusIIReaderScalarCheck ()
bool StartInternal (std::string name, const int *, int) override
 Subclasses implement this and returns true if any more names are acceptable.
bool Add (std::string, const int *) override
 Add a name to the sequence. Returns true if any more names may be added.
Public Member Functions inherited from vtkExodusIIReaderVariableCheck
virtual bool Start (std::string name, const int *truth, int numTruth)
 Initialize a sequence of names. Returns true if any more names are acceptable.
virtual std::vector< std::string >::size_type Length ()
 Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
virtual int Accept (std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arr, int startIndex, vtkExodusIIReaderPrivate *priv, int objtyp)
 Accept this sequence. (Add an entry to the end of arr.) Must return Length().

Additional Inherited Members

Protected Member Functions inherited from vtkExodusIIReaderVariableCheck
 vtkExodusIIReaderVariableCheck ()
virtual ~vtkExodusIIReaderVariableCheck ()
bool CheckTruth (const int *truth)
 Utility that subclasses may call from within Add() to verify that the new variable is defined on the same objects as other variables in the sequence.
bool UniquifyName (vtkExodusIIReaderPrivate::ArrayInfoType &ainfo, std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arrays)
Protected Attributes inherited from vtkExodusIIReaderVariableCheck
int GlomType
std::vector< int > SeqTruth
std::string Prefix
std::vector< std::string > OriginalNames

Detailed Description

This always accepts a single array name as a scalar. It is the fallback for all other checkers.

Definition at line 49 of file vtkExodusIIReaderVariableCheck.h.

Constructor & Destructor Documentation

◆ vtkExodusIIReaderScalarCheck()

vtkExodusIIReaderScalarCheck::vtkExodusIIReaderScalarCheck ( )

Member Function Documentation

◆ StartInternal()

bool vtkExodusIIReaderScalarCheck::StartInternal ( std::string name,
const int * truth,
int numTruth )
overridevirtual

Subclasses implement this and returns true if any more names are acceptable.

Implements vtkExodusIIReaderVariableCheck.

◆ Add()

bool vtkExodusIIReaderScalarCheck::Add ( std::string name,
const int * truth )
overridevirtual

Add a name to the sequence. Returns true if any more names may be added.

Implements vtkExodusIIReaderVariableCheck.


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