10 #ifndef smtk_attribute_PythonRule_h
11 #define smtk_attribute_PythonRule_h
13 #include "smtk/CoreExports.h"
15 #include "smtk/attribute/AssociationRule.h"
17 #include "smtk/common/CompilerInformation.h"
19 SMTK_THIRDPARTY_PRE_INCLUDE
20 #include "nlohmann/json.hpp"
21 SMTK_THIRDPARTY_POST_INCLUDE
43 bool operator()(
const Attribute::ConstPtr&,
const smtk::resource::PersistentObject::ConstPtr&)
46 const PythonRule& operator>>(nlohmann::json& json)
const override;
49 const PythonRule& operator>>(pugi::xml_node& node)
const override;
53 std::vector<std::string> m_sourceFiles;
54 std::string m_functionString;