SHAPER  9.13.0
ModuleBase_WidgetSelectorStore Class Reference

Provides for an attribute backup of values. More...

Public Member Functions

 ModuleBase_WidgetSelectorStore ()
 Constructor. More...
 
virtual ~ModuleBase_WidgetSelectorStore ()
 Destructor. More...
 
void storeAttributeValue (const AttributePtr &theAttribute, ModuleBase_IWorkshop *theWorkshop)
 Creates a backup of the current values of the attribute. More...
 
void restoreAttributeValue (const AttributePtr &theAttribute, ModuleBase_IWorkshop *theWorkshop)
 Creates a backup of the current values of the attribute. More...
 

Detailed Description

Provides for an attribute backup of values.

It is possible to store/ restore the attribute values.

Constructor & Destructor Documentation

◆ ModuleBase_WidgetSelectorStore()

ModuleBase_WidgetSelectorStore::ModuleBase_WidgetSelectorStore ( )

Constructor.

◆ ~ModuleBase_WidgetSelectorStore()

virtual ModuleBase_WidgetSelectorStore::~ModuleBase_WidgetSelectorStore ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ storeAttributeValue()

void ModuleBase_WidgetSelectorStore::storeAttributeValue ( const AttributePtr &  theAttribute,
ModuleBase_IWorkshop theWorkshop 
)

Creates a backup of the current values of the attribute.

Parameters
theAttributea model attribute which parameters are to be stored
theWorkshopa current workshop

◆ restoreAttributeValue()

void ModuleBase_WidgetSelectorStore::restoreAttributeValue ( const AttributePtr &  theAttribute,
ModuleBase_IWorkshop theWorkshop 
)

Creates a backup of the current values of the attribute.

Parameters
theAttributea model attribute which parameters are to be restored
theWorkshopa current workshop