#include <iostream>
#include <string>
#include <vector>
Go to the source code of this file.
◆ convertCSV()
template<typename LANG > 
      
        
          | void convertCSV  | 
          ( | 
          std::ostream &  | 
          out,  | 
        
        
           | 
           | 
          const CSV &  | 
          csv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ convertHeader()
template<typename LANG > 
      
        
          | void convertHeader  | 
          ( | 
          std::ostream &  | 
          out,  | 
        
        
           | 
           | 
          const Header &  | 
          header  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ convert()
template<typename LANG > 
      
        
          | void convert  | 
          ( | 
          std::ostream &  | 
          out,  | 
        
        
           | 
           | 
          const Header &  | 
          header,  | 
        
        
           | 
           | 
          const CSV &  | 
          csv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 29 of file csv2code.hh.
   30   convertHeader<LANG>(out, header);
 
   31   convertCSV<LANG>(out, csv);
 
 
 
 
◆ readCSV()
      
        
          | CSV readCSV  | 
          ( | 
          std::istream &  | 
          in | ) | 
           | 
        
      
 
Definition at line 18 of file csv2code.cc.
   23     if (line.size() < 2 || line[0] == 
'#') {
 
   26     string type, name, number, comment;
 
   27     stringstream sline(line);
 
   32     csv.
types.emplace_back(type);
 
   33     csv.
names.emplace_back(name);
 
   34     csv.
numbers.emplace_back(number);
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
 
std::vector< std::string > numbers
 
std::vector< std::string > types
 
std::vector< std::string > names
 
std::vector< std::string > comments