MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / getFileName

Method getFileName

src/base/XMLSaveSupport.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44// =============================================================================
45
46std::string XMLSaveSupport::getFileName() const {
47 std::string file("");
48 if (!_filePath.empty()) {
49 std::string path;
50 StringConverter::splitPath(_filePath, path, file);
51 }
52 return file;
53}
54
55bool XMLSaveSupport::saveXML(const std::string &xml) const {
56 if (!_filePath.empty()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected