mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Updated macro
This commit is contained in:
parent
737936d846
commit
453ee2e4ea
@ -2,7 +2,5 @@
|
||||
|
||||
|
||||
#define CAF_PDM_ABSTRACT_SOURCE_INIT(ClassName, keyword) \
|
||||
bool ClassName::Error_You_forgot_to_add_the_macro_CAF_PDM_HEADER_INIT_and_or_CAF_PDM_SOURCE_INIT_to_your_cpp_file_for_this_class() { return false;} \
|
||||
QString ClassName::classKeywordStatic() { assert(PdmObject::isValidXmlElementName(keyword)); return keyword; }
|
||||
|
||||
|
||||
bool ClassName::Error_You_forgot_to_add_the_macro_CAF_PDM_XML_HEADER_INIT_and_or_CAF_PDM_XML_SOURCE_INIT_to_your_cpp_file_for_this_class() { return false; } \
|
||||
QString ClassName::classKeywordStatic() { assert(PdmXmlObjectHandle::isValidXmlElementName(keyword)); return keyword; }
|
||||
|
Loading…
Reference in New Issue
Block a user