VTK  9.7.20260828
vtkFLUENTCFFInternal.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
9#ifndef vtkFLUENTCFFUtilities_h
10#define vtkFLUENTCFFUtilities_h
11
12#include <string>
13
15{
20std::string GetMatchingFieldName(const std::string& strSectionName);
21
25bool RemoveTrailingIndex(std::string& fieldName);
26
30bool RemoveSuffixIfPresent(std::string& fieldName, const std::string& suffix);
31
32}
33
34#endif
internal utilities for vtkFLUENTCFFReader
bool RemoveTrailingIndex(std::string &fieldName)
Remove the trailing index of the string if it ends by "_1" or any other digit.
std::string GetMatchingFieldName(const std::string &strSectionName)
Retrieve the correct field name.
bool RemoveSuffixIfPresent(std::string &fieldName, const std::string &suffix)
Remove the suffix passed in argument if it is prensent in the field name.