ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmField.h
2018-02-12 20:12:04 +01:00

26 lines
535 B
C++

#pragma once
#define CAF_IS_DEFINING_PDM_FIELD
#define PdmDataValueField PdmField
#include "cafPdmDataValueField.h"
#undef PdmDataValueField
#undef CAF_IS_DEFINING_PDM_FIELD
#ifndef __clang__
namespace caf
{
// Specialization to create compiler errors to help finding the PdmField's to rename
#ifdef WIN32
template<typename DataType >
class PdmField <DataType*> : public Rename_PdmField_of_pointer_to_PdmChildField // You must rename PdmField<T*> to PdmChildField<T*>
{
};
#endif // WIN32
}
#endif // __clang__