IProperty.h
Go to the documentation of this file.
1 #ifndef iprop_IProperty_included
2 #define iprop_IProperty_included
3 
4 
5 // ACF includes
6 #include "iser/IObject.h"
7 
8 // ACF-Solutions includes
9 #include "iprop/iprop.h"
10 
11 
12 namespace iprop
13 {
14 
15 
19 class IProperty: virtual public iser::IObject
20 {
21 public:
23  {
28  };
29 
34  virtual void ResetValue() = 0;
35 
39  virtual const iser::IObject* GetDefaultPropertyValue() const = 0;
40 };
41 
42 
43 } // namespace iprop
44 
45 
46 #endif // !iprop_IProperty_included
47 
48 
virtual const iser::IObject * GetDefaultPropertyValue() const =0
Get default value for the property.
Property is persistent.
Definition: IProperty.h:27
virtual void ResetValue()=0
Set property to a default value.
Common interface for an abstract property.
Definition: IProperty.h:19

© 2007-2011 Witold Gantzke and Kirill Lepskiy