General command-line option handler.  
More...
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <sstream>
#include <cstdlib>
#include <cctype>
Go to the source code of this file.
|  | 
| typedef std::vector< int > | IntVec | 
|  | Convenience type definition.  More... 
 | 
|  | 
| typedef std::vector< double > | DoubleVec | 
|  | Convenience type definition.  More... 
 | 
|  | 
|  | 
| template<class T > | 
| std::string | vec2string (const std::vector< T > &value) | 
|  | Helper function converting a vector of something to a string.  More... 
 | 
|  | 
| template<class T > | 
| const std::vector< T > & | complDefault (const std::vector< T > &value, const std::vector< T > &defval) | 
|  | Helper function completing a vector-valued option value from defaults.  More... 
 | 
|  | 
General command-line option handler. 
◆ DoubleVec
Convenience type definition. 
 
 
◆ IntVec
      
        
          | typedef std::vector<int> IntVec | 
      
 
Convenience type definition. 
 
 
◆ complDefault()
template<class T > 
  
  | 
        
          | const std::vector<T>& complDefault | ( | const std::vector< T > & | value, |  
          |  |  | const std::vector< T > & | defval |  
          |  | ) |  |  |  | inline | 
 
Helper function completing a vector-valued option value from defaults. 
 
 
◆ vec2string()
template<class T > 
  
  | 
        
          | std::string vec2string | ( | const std::vector< T > & | value | ) |  |  | inline | 
 
Helper function converting a vector of something to a string.