ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmField.h

24 lines
488 B
C
Raw Normal View History

#pragma once
#define CAF_IS_DEFINING_PDM_FIELD
#define PdmDataValueField PdmField
#include "cafPdmDataValueField.h"
#undef PdmDataValueField
#undef CAF_IS_DEFINING_PDM_FIELD
namespace caf
{
2012-06-26 09:10:41 -05:00
// 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
}