| 350 | } |
| 351 | |
| 352 | const char * Context::getStringVarNameByIndex(int index) const |
| 353 | { |
| 354 | if(index < 0 || index >= static_cast<int>(getImpl()->m_envMap.size())) |
| 355 | return ""; |
| 356 | |
| 357 | EnvMap::const_iterator iter = getImpl()->m_envMap.begin(); |
| 358 | for(int count = 0; count<index; ++count) ++iter; |
| 359 | |
| 360 | return iter->first.c_str(); |
| 361 | } |
| 362 | |
| 363 | const char * Context::getStringVarByIndex(int index) const |
| 364 | { |