Changeset 291 in dev
- Timestamp:
- Aug 21, 2007, 11:00:44 PM (17 years ago)
- Location:
- trunk/jenga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/common/CmdLine.h
r289 r291 32 32 public: 33 33 CmdLines( const std::string &strCmdLine ); 34 bool IsExist( const std::string &commandString ) const; 34 35 }; 35 36 -
trunk/jenga/include/smoothie/BasicFixed.h
r205 r291 54 54 55 55 //特殊型 56 #define DEF_ANY 0x00000015 57 #define DEF_OBJECT 0x00000016 58 #define DEF_STRUCT 0x00000017 59 #define DEF_ELLIPSE 0x00000018 56 #define DEF_ANY 0x00000015 57 #define DEF_ELLIPSE 0x00000016 58 #define DEF_OBJECT 0x00000017 // クラス 59 #define DEF_STRUCT 0x00000018 // 構造体 60 #define DEF_TYPE_PARAMETER 0x00000019 // 型パラメータ(ジェネリクスサポート) 60 61 61 62 //ポインタ型 -
trunk/jenga/src/common/CmdLine.cpp
r289 r291 1 1 #include <jenga/include/common/CmdLine.h> 2 3 #include <boost/foreach.hpp> 2 4 3 5 using namespace Jenga::Common; … … 70 72 } 71 73 } 74 75 bool CmdLines::IsExist( const std::string &commandString ) const 76 { 77 const CmdLines &cmdLines = *this; 78 BOOST_FOREACH( const CmdLine &cmdLine, cmdLines ) 79 { 80 if( cmdLine.GetCommand() == commandString ) 81 { 82 return true; 83 } 84 } 85 return false; 86 }
Note:
See TracChangeset
for help on using the changeset viewer.