SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A subclass used to differentiate between rule types during registration. More...
#include <AssociationRule.h>
Additional Inherited Members | |
Public Member Functions inherited from smtk::attribute::Rule | |
smtkTypenameMacroBase (smtk::attribute::Rule) | |
virtual bool | operator() (const Attribute::ConstPtr &, const smtk::resource::PersistentObject::ConstPtr &) const =0 |
Verify whether an attribute can be associated/dissociated to/from a persistent object. | |
virtual const Rule & | operator>> (nlohmann::json &json) const =0 |
Serialize the rule to/from json. | |
virtual Rule & | operator<< (const nlohmann::json &json)=0 |
virtual const Rule & | operator>> (pugi::xml_node &node) const =0 |
Serialize the rule to/from xml. | |
virtual Rule & | operator<< (const pugi::xml_node &node)=0 |
A subclass used to differentiate between rule types during registration.
Association rules can inherit from this class, but it suffices to have them inherit from the base Rule class.