SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Manage the attribute system. More...
#include <UpdateManager.h>
Public Member Functions | |
smtkTypeMacroBase (smtk::attribute::UpdateManager) | |
smtkCreateMacro (smtk::attribute::UpdateManager) | |
update::ResourceUpdateFactory & | resourceUpdaters () |
Return a factory holding methods to update entire resources at a time (i.e., those that do not have a simple mapping from old to new attribute definitions and instances). | |
const update::ResourceUpdateFactory & | resourceUpdaters () const |
update::AttributeUpdateFactory & | attributeUpdaters (const smtk::string::Token &resourceTemplate) |
Return a factory holding methods to update entire attributes at a time (i.e., those that do not have a simple mapping from old to new item definitions and instances). More... | |
const update::AttributeUpdateFactory & | attributeUpdaters (const smtk::string::Token &resourceTemplate) const |
update::ItemUpdateFactory & | itemUpdaters (smtk::string::Token resourceTemplate, smtk::string::Token attributeType) |
Return a factory holding methods to update items of an attribute (i.e., those that do not have a simple mapping from old to new item definitions). More... | |
const update::ItemUpdateFactory & | itemUpdaters (smtk::string::Token resourceTemplate, smtk::string::Token attributeType) const |
Protected Types | |
using | AttributeUpdateKey = smtk::string::Token |
using | ItemUpdateKey = std::pair< smtk::string::Token, smtk::string::Token > |
Protected Attributes | |
update::ResourceUpdateFactory | m_resourceUpdaters |
std::map< AttributeUpdateKey, update::AttributeUpdateFactory > | m_attributeUpdaters |
std::map< ItemUpdateKey, update::ItemUpdateFactory > | m_itemUpdaters |
Manage the attribute system.
|
inline |
Return a factory holding methods to update entire attributes at a time (i.e., those that do not have a simple mapping from old to new item definitions and instances).
The input parameter is the name of a resource's template-type.
|
inline |
Return a factory holding methods to update items of an attribute (i.e., those that do not have a simple mapping from old to new item definitions).
The input parameters are the name of a resource's template-type and the type of an attribute::Definition.