SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A base class for custom (i.e. More...
#include <AssociationRule.h>
Public Member Functions | |
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 base class for custom (i.e.
user-defined) association/dissociation rules. This class defines the requisite API for custom attribute rules.