| 620 | void UTFString::push_back( char val ) { mData.push_back( static_cast<code_point>( val ) ); } |
| 621 | |
| 622 | bool UTFString::inString( unicode_char ch ) const |
| 623 | { |
| 624 | const_iterator i, ie = end(); |
| 625 | for( i = begin(); i != ie; i.moveNext() ) |
| 626 | { |
| 627 | if( i.getCharacter() == ch ) |
| 628 | return true; |
| 629 | } |
| 630 | return false; |
| 631 | } |
| 632 | |
| 633 | const std::string &UTFString::asUTF8() const |
| 634 | { |
no test coverage detected