VTK  9.7.1
Functions | Variables
vtkFLUENTCFFInternal Namespace Reference

internal utilities for vtkFLUENTCFFReader More...

Functions

std::string GetMatchingFieldName (const std::string &strSectionName)
 Retrieve the correct field name. More...
 
bool RemoveTrailingIndex (std::string &fieldName)
 Remove the trailing index of the string if it ends by "_1" or any other digit. More...
 
bool RemoveSuffixIfPresent (std::string &fieldName, const std::string &suffix)
 Remove the suffix passed in argument if it is prensent in the field name. More...
 

Variables

const std::unordered_map< std::string, std::string > FieldsNamesMap
 

Detailed Description

internal utilities for vtkFLUENTCFFReader

Utility methods used by vtkFLUENTCFFReader to retrieve the matching array name.

Function Documentation

std::string vtkFLUENTCFFInternal::GetMatchingFieldName ( const std::string &  strSectionName)

Retrieve the correct field name.

If there is not match, returns the same string passed as an argument

bool vtkFLUENTCFFInternal::RemoveTrailingIndex ( std::string &  fieldName)

Remove the trailing index of the string if it ends by "_1" or any other digit.

bool vtkFLUENTCFFInternal::RemoveSuffixIfPresent ( std::string &  fieldName,
const std::string &  suffix 
)

Remove the suffix passed in argument if it is prensent in the field name.

Variable Documentation

const std::unordered_map<std::string, std::string> vtkFLUENTCFFInternal::FieldsNamesMap

Definition at line 33 of file vtkFLUENTCFFInternal.h.