| 24 | } |
| 25 | |
| 26 | void GetNameFromFullPath(string & name) |
| 27 | { |
| 28 | string::size_type const i = name.find_last_of("/\\"); |
| 29 | if (i != string::npos) |
| 30 | name = name.substr(i + 1); |
| 31 | } |
| 32 | |
| 33 | std::string FileNameFromFullPath(std::string path) |
| 34 | { |
no outgoing calls