#include <Feature.h>
Inheritance diagram for PersistantFeature:
Public Member Functions | |
virtual featureparams | write () const =0 |
virtual void | read (featureparams *param)=0 |
void | invalidate () |
void | validate () |
bool | isValid () |
Protected Member Functions | |
PersistantFeature () |
This interface only enhances the Feature interface by methods to handle persistant data of a feature. It sets the externalization flag to true.
|
Default constructor Sets the externalization flag and the validation flag to true.
|
|
Invalidate feature Sets the validation flag to flase to signal the framework that the corresponding persistant feature data is not up to date and has to be written again. |
|
Query validation flag
|
|
Load feature from persistant data Initializes the persistant feature data from the given representation.
Implemented in AbstractStringFeature, NumericalDiscreteFeature, NumericalContinuousFeature, and TimeFeature. |
|
Set the validation flag to true |
|
Externalize feature
Implemented in AbstractStringFeature, NumericalDiscreteFeature, NumericalContinuousFeature, and TimeFeature. |