| 10992 | // <Instantiation name, Sequence generator creation function, |
| 10993 | // Name generator function, Source file, Source line> |
| 10994 | struct InstantiationInfo { |
| 10995 | InstantiationInfo(const std::string &name_in, |
| 10996 | GeneratorCreationFunc* generator_in, |
| 10997 | ParamNameGeneratorFunc* name_func_in, |
| 10998 | const char* file_in, |
| 10999 | int line_in) |
| 11000 | : name(name_in), |
| 11001 | generator(generator_in), |
| 11002 | name_func(name_func_in), |
| 11003 | file(file_in), |
| 11004 | line(line_in) {} |
| 11005 | |
| 11006 | std::string name; |
| 11007 | GeneratorCreationFunc* generator; |
| 11008 | ParamNameGeneratorFunc* name_func; |
| 11009 | const char* file; |
| 11010 | int line; |
| 11011 | }; |
| 11012 | typedef ::std::vector<InstantiationInfo> InstantiationContainer; |
| 11013 | |
| 11014 | static bool IsValidParamName(const std::string& name) { |
no outgoing calls