20 #ifndef smtk_common_FileLocation_h
21 #define smtk_common_FileLocation_h
23 #include "smtk/CoreExports.h"
24 #include "smtk/common/CompilerInformation.h"
29 #pragma warning(disable : 4251)
40 FileLocation(
const std::string& filePath,
const std::string& refPath = std::string());
44 std::string absolutePath()
const;
45 std::string relativePath()
const;
46 std::string referencePath()
const;
48 bool empty()
const {
return m_filePath.empty(); }
52 m_referencePath.clear();
56 bool operator==(
const std::string& from)
const {
return *
this ==
FileLocation(from); }
59 std::string m_filePath;
60 std::string m_referencePath;