| 366 | } |
| 367 | |
| 368 | std::string CSequenceParser::PrintSequence() const |
| 369 | { |
| 370 | std::string str; |
| 371 | |
| 372 | const int Loop = m_pSequence->GetLoopPoint(); |
| 373 | const int Release = m_pSequence->GetReleasePoint(); |
| 374 | |
| 375 | for (int i = 0, Count = m_pSequence->GetItemCount(); i < Count; ++i) { |
| 376 | if (i == Loop) |
| 377 | str.append("| "); |
| 378 | if (i == Release) |
| 379 | str.append("/ "); |
| 380 | str.append(m_pConversion->ToString(m_pSequence->GetItem(i))); |
| 381 | str.push_back(' '); |
| 382 | } |
| 383 | |
| 384 | return str; |
| 385 | } |