Replaced CV_PURE_PROPERTY macros with corresponding code

This commit is contained in:
Maksim Shabunin
2015-03-18 17:23:42 +03:00
parent e12a04ac7e
commit 7335a40a61
6 changed files with 365 additions and 109 deletions

View File

@@ -2821,19 +2821,6 @@ public:
virtual void read(const FileNode& fn) { (void)fn; }
};
// define properties
#define CV_PURE_PROPERTY(type, name) \
CV_WRAP virtual type get##name() const = 0; \
CV_WRAP virtual void set##name(type val) = 0;
#define CV_PURE_PROPERTY_S(type, name) \
CV_WRAP virtual type get##name() const = 0; \
CV_WRAP virtual void set##name(const type & val) = 0;
#define CV_PURE_PROPERTY_RO(type, name) \
CV_WRAP virtual type get##name() const = 0;
// basic property implementation
#define CV_IMPL_PROPERTY_RO(type, name, member) \