Changeset 724564 for src/Patterns/unittests/stubs/CreatorStub.hpp
- Timestamp:
- Jan 4, 2011, 5:15:14 PM (15 years ago)
- Children:
- 1afcbe
- Parents:
- 746ff1
- git-author:
- Frederik Heber <heber@…> (01/04/11 15:57:33)
- git-committer:
- Frederik Heber <heber@…> (01/04/11 17:15:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/unittests/stubs/CreatorStub.hpp
r746ff1 r724564 8 8 #ifndef CREATORSTUB_HPP_ 9 9 #define CREATORSTUB_HPP_ 10 11 // include config.h 12 #ifdef HAVE_CONFIG_H 13 #include <config.h> 14 #endif 10 15 11 16 #include <typeinfo> … … 19 24 virtual int getcount() = 0; 20 25 virtual std::string name() = 0; 21 };22 23 namespace teststubs {24 class Aclass25 {26 public:27 Aclass() :28 counter(0)29 {};30 ~Aclass() {};31 32 int counter;33 };34 35 class Bclass36 {37 public:38 Bclass() :39 counter(256)40 {};41 ~Bclass() {};42 43 int counter;44 };45 26 }; 46 27
Note:
See TracChangeset
for help on using the changeset viewer.