Changeset 1afcbe for src/Patterns/unittests/stubs/CommonStub.hpp
- Timestamp:
- Jan 5, 2011, 11:08:49 AM (15 years ago)
- Children:
- d76c105
- Parents:
- 724564
- File:
-
- 1 edited
-
src/Patterns/unittests/stubs/CommonStub.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/unittests/stubs/CommonStub.hpp
r724564 r1afcbe 15 15 16 16 namespace teststubs { 17 class Aclass 17 class Iclass 18 { 19 public: 20 virtual ~Iclass(); 21 22 virtual void count() = 0; 23 virtual int getcount() const = 0; 24 virtual void setcount(int const _counter) = 0; 25 }; 26 27 class Aclass : 28 public Iclass 18 29 { 19 30 public: … … 21 32 ~Aclass(); 22 33 34 void count(); 35 int getcount() const; 36 void setcount(int const _counter); 37 23 38 int counter; 24 39 }; 25 40 26 class Bclass 41 class Bclass : 42 public Iclass 27 43 { 28 44 public: … … 30 46 ~Bclass(); 31 47 32 int counter; 48 void count(); 49 int getcount() const; 50 void setcount(int const _counter); 51 52 double counter; 33 53 }; 34 54 };
Note:
See TracChangeset
for help on using the changeset viewer.
