MCPcopy Create free account
hub / github.com/Kitware/VTK / GetVariableNameLength

Method GetVariableNameLength

Common/Misc/vtkFunctionParser.cxx:1691–1702  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1689
1690//------------------------------------------------------------------------------
1691int vtkFunctionParser::GetVariableNameLength(int variableNumber)
1692{
1693 if (variableNumber < this->GetNumberOfScalarVariables())
1694 {
1695 return static_cast<int>(this->ScalarVariableNames[variableNumber].size());
1696 }
1697 else
1698 {
1699 return static_cast<int>(
1700 this->VectorVariableNames[variableNumber - this->GetNumberOfScalarVariables()].size());
1701 }
1702}
1703
1704//------------------------------------------------------------------------------
1705int vtkFunctionParser::FindEndOfMathFunction(int beginIndex)

Callers 1

CheckExpressionMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected