コード例 #1
0
 void get()
 {
     if (*m_environment == 0)
         found_eof();
     else {
         std::string s(*m_environment);
         std::string::size_type n = s.find('=');
         assert(n != s.npos);
         value().first = s.substr(0, n);
         value().second = s.substr(n+1);
     }            
     ++m_environment;
 }
コード例 #2
0
ファイル: config_file.hpp プロジェクト: AndresGalaviz/NAO
 common_config_file_iterator() { found_eof(); }
コード例 #3
0
ファイル: config_file.hpp プロジェクト: AndresGalaviz/NAO
 basic_config_file_iterator()
 {
     found_eof();
 }
コード例 #4
0
ファイル: environment_iterator.hpp プロジェクト: DINKIN/omim
 environment_iterator()
 {
     found_eof();
 }