------------------------------------------------------------------------------
| 1703 | |
| 1704 | //------------------------------------------------------------------------------ |
| 1705 | int vtkFunctionParser::FindEndOfMathFunction(int beginIndex) |
| 1706 | { |
| 1707 | int i = beginIndex, parenthesisCount; |
| 1708 | |
| 1709 | while (this->Function[i] != '(') |
| 1710 | { |
| 1711 | i++; |
| 1712 | } |
| 1713 | i++; |
| 1714 | for (parenthesisCount = 1; parenthesisCount > 0; ++i) |
| 1715 | { |
| 1716 | parenthesisCount += this->Function[i] == '('; |
| 1717 | parenthesisCount -= this->Function[i] == ')'; |
| 1718 | } |
| 1719 | return i - 1; |
| 1720 | } |
| 1721 | |
| 1722 | //------------------------------------------------------------------------------ |
| 1723 | int vtkFunctionParser::FindEndOfMathConstant(int beginIndex) |
no outgoing calls
no test coverage detected