Debian Codegraph @

examples/ExtDerivedB.hh

raw
1 #ifndef GSEXAMPLES_EXTDERIVEDB_HH_
2 #define GSEXAMPLES_EXTDERIVEDB_HH_
3
4 #include "ExtDerivedA.hh"
5
6 class ExtDerivedB : public ExtDerivedA
7 {
8 public:
9 inline ExtDerivedB(const int i, const double d) : ExtDerivedA(i), d_(d) {}
10 inline virtual ~ExtDerivedB() {}
11
12 inline double getAnother() const {return d_;}
13
14 private:
15 double d_;
16 };
17
18 #endif // GSEXAMPLES_EXTDERIVEDB_HH_