examples/ExtDerivedA.hh
raw| 1 | #ifndef GSEXAMPLES_EXTDERIVEDA_HH_ |
| 2 | #define GSEXAMPLES_EXTDERIVEDA_HH_ |
| 3 | |
| 4 | #include "ExtBase.hh" |
| 5 | |
| 6 | class ExtDerivedA : public ExtBase |
| 7 | { |
| 8 | public: |
| 9 | inline explicit ExtDerivedA(const int value) : value_(value) {} |
| 10 | inline virtual ~ExtDerivedA() {} |
| 11 | |
| 12 | virtual int getValue() const {return value_;} |
| 13 | |
| 14 | private: |
| 15 | int value_; |
| 16 | }; |
| 17 | |
| 18 | #endif // GSEXAMPLES_EXTDERIVEDA_HH_ |