14 #ifndef smtk_io_AttributeReader_h
15 #define smtk_io_AttributeReader_h
17 #include "smtk/CoreExports.h"
19 #include "smtk/SystemConfig.h"
32 class AttributeReaderInternals;
44 const std::string& filename,
50 return this->read(resource, filename,
true, logger);
55 const std::string& filecontents,
66 pugi::xml_node& rootNode,
69 void setSearchPaths(
const std::vector<std::string>& paths) { m_searchPaths = paths; }
71 void setReportDuplicateDefinitionsAsErrors(
bool mode) { m_reportAsError = mode; }
75 bool m_reportAsError{
true };
76 std::vector<std::string> m_searchPaths;