File indexing completed on 2024-08-06 22:36:35
0001 #ifndef FWCore_Reflection_test_TestObjects_h
0002 #define FWCore_Reflection_test_TestObjects_h
0003
0004 namespace edmtest::reflection {
0005 class IntObject {
0006 public:
0007 IntObject();
0008 IntObject(int v) : value_(v) {}
0009
0010 #ifdef FWCORE_REFLECTION_TEST_INTOBJECT_V4
0011 void set(int v) {
0012 value_ = v;
0013 set_ = true;
0014 }
0015 #endif
0016 int get() const { return value_; }
0017
0018 private:
0019 int value_ = 0;
0020 #ifdef FWCORE_REFLECTION_TEST_INTOBJECT_V4
0021 bool set_ = false;
0022 #endif
0023 };
0024 }
0025
0026 #endif