source: dev/trunk/ab5.0/jenga/src/common/String.cpp@ 465

Last change on this file since 465 was 465, checked in by dai_9181, 16 years ago

Messenger/ErrorMessengerクラスを導入。SetError関数によるエラー生成を廃止した。

File size: 312 bytes
Line 
1#include <boost/foreach.hpp>
2#include <jenga/include/common/String.h>
3
4
5bool Jenga::Common::IsExistString( const Jenga::Common::Strings &strings, const std::string &findStr )
6{
7 BOOST_FOREACH( const std::string &str, strings )
8 {
9 if( str == findStr )
10 {
11 return true;
12 }
13 }
14 return false;
15}
Note: See TracBrowser for help on using the repository browser.