Changeset d76c105 for src/Patterns/unittests/stubs/CloneStub.hpp
- Timestamp:
- Jan 5, 2011, 1:48:15 PM (15 years ago)
- Children:
- 567640
- Parents:
- 1afcbe
- git-author:
- Frederik Heber <heber@…> (01/05/11 11:26:48)
- git-committer:
- Frederik Heber <heber@…> (01/05/11 13:48:15)
- File:
-
- 1 edited
-
src/Patterns/unittests/stubs/CloneStub.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/unittests/stubs/CloneStub.hpp
r1afcbe rd76c105 24 24 }; 25 25 26 class CloneTest; 27 class PrototypeFactoryStub; 28 26 29 template <class T> 27 30 class Prototype : … … 29 32 public Clone<IPrototype> 30 33 { 31 public: 34 /** 35 * Prototype Factory is friend because it needs to access protected cstor 36 * to instantiate prototypes. 37 */ 38 friend class PrototypeFactoryStub; 39 40 /** 41 * Test is friend such that it can access protected cstor. 42 */ 43 friend class CloneTest; 44 45 protected: 32 46 Prototype() { 33 47 member.setcount(0); … … 35 49 ~Prototype() {}; 36 50 51 public: 37 52 void count() { 38 53 member.count();
Note:
See TracChangeset
for help on using the changeset viewer.
