00001 //---------------------------------------------------------------------------- 00002 /** @file SgStringUtil.h */ 00003 //---------------------------------------------------------------------------- 00004 00005 #ifndef SG_STRINGUTIL_H 00006 #define SG_STRINGUTIL_H 00007 00008 #include <vector> 00009 #include <string> 00010 00011 //---------------------------------------------------------------------------- 00012 00013 /** String utility functions. */ 00014 namespace SgStringUtil 00015 { 00016 /** Split command line into arguments. 00017 Allows " for words containing whitespaces. */ 00018 std::vector<std::string> SplitArguments(std::string s); 00019 } 00020 00021 //---------------------------------------------------------------------------- 00022 00023 #endif // SG_STRINGUTIL_H