| 792 | } |
| 793 | |
| 794 | int findToken(std::string text, std::string token, int position) |
| 795 | { |
| 796 | int foundPosition = 0; |
| 797 | while((foundPosition = (int) text.find(token, position)) != -1) |
| 798 | { |
| 799 | if(isToken(text, foundPosition, token)) |
| 800 | { |
| 801 | return foundPosition; |
| 802 | } |
| 803 | position = foundPosition + 1; |
| 804 | } |
| 805 | return foundPosition; |
| 806 | } |
| 807 | |
| 808 | int CsoundFile::getInstrumentCount() const |
| 809 | { |
no test coverage detected