SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::attribute::Rule Class Referenceabstract

A base class for custom (i.e. More...

#include <AssociationRule.h>

Inheritance diagram for smtk::attribute::Rule:
[legend]

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 Ruleoperator>> (nlohmann::json &json) const =0
 Serialize the rule to/from json.
 
virtual Ruleoperator<< (const nlohmann::json &json)=0
 
virtual const Ruleoperator>> (pugi::xml_node &node) const =0
 Serialize the rule to/from xml.
 
virtual Ruleoperator<< (const pugi::xml_node &node)=0
 

Detailed Description

A base class for custom (i.e.

user-defined) association/dissociation rules. This class defines the requisite API for custom attribute rules.


The documentation for this class was generated from the following file: