| 86 | } |
| 87 | |
| 88 | static std::unordered_set< std::string > split( const std::string& s, char delimiter ) { |
| 89 | std::unordered_set< std::string > parts; |
| 90 | |
| 91 | std::stringstream ss(s); |
| 92 | |
| 93 | std::string tok; |
| 94 | |
| 95 | while(std::getline( ss, tok, delimiter ) ){ |
| 96 | parts.insert( tok ); |
| 97 | } |
| 98 | |
| 99 | return parts; |
| 100 | } |
| 101 | |
| 102 | static void parseTypedefs(json_value* root, std::map< std::string, std::string >& typeMap ) |
| 103 | { |