| 2037 | //----------------------------------------------------------------------------- |
| 2038 | |
| 2039 | StringTableEntry getPathExpando(const char* pExpandoName) |
| 2040 | { |
| 2041 | // Sanity! |
| 2042 | AssertFatal(pExpandoName != NULL, "Expando name cannot be NULL."); |
| 2043 | |
| 2044 | // Fetch expando name. |
| 2045 | StringTableEntry expandoName = StringTable->insert(pExpandoName); |
| 2046 | |
| 2047 | // Find any existing path expando. |
| 2048 | typePathExpandoMap::iterator expandoItr = PathExpandos.find(expandoName); |
| 2049 | |
| 2050 | // Does the expando exist? |
| 2051 | if (expandoItr != PathExpandos.end()) |
| 2052 | { |
| 2053 | // Yes, so return it. |
| 2054 | return expandoItr->value; |
| 2055 | } |
| 2056 | |
| 2057 | // Not found. |
| 2058 | return NULL; |
| 2059 | } |
| 2060 | |
| 2061 | //----------------------------------------------------------------------------- |
| 2062 |
no test coverage detected