| 1957 | //----------------------------------------------------------------------------- |
| 1958 | |
| 1959 | StringTableEntry getPathExpando(const char* pExpandoName) |
| 1960 | { |
| 1961 | // Sanity! |
| 1962 | AssertFatal(pExpandoName != NULL, "Expando name cannot be NULL."); |
| 1963 | |
| 1964 | // Fetch expando name. |
| 1965 | StringTableEntry expandoName = StringTable->insert(pExpandoName); |
| 1966 | |
| 1967 | // Find any existing path expando. |
| 1968 | typePathExpandoMap::iterator expandoItr = PathExpandos.find(expandoName); |
| 1969 | |
| 1970 | // Does the expando exist? |
| 1971 | if (expandoItr != PathExpandos.end()) |
| 1972 | { |
| 1973 | // Yes, so return it. |
| 1974 | return expandoItr->value; |
| 1975 | } |
| 1976 | |
| 1977 | // Not found. |
| 1978 | return NULL; |
| 1979 | } |
| 1980 | |
| 1981 | //----------------------------------------------------------------------------- |
| 1982 |
no test coverage detected