| 18 | } |
| 19 | |
| 20 | string GetFileExtension(string const & name) |
| 21 | { |
| 22 | size_t const pos = name.find_last_of("./\\"); |
| 23 | return ((pos != string::npos && name[pos] == '.') ? name.substr(pos) : string()); |
| 24 | } |
| 25 | |
| 26 | void GetNameFromFullPath(string & name) |
| 27 | { |
no outgoing calls