Changeset 2019 for code/branches/objecthierarchy/src/core/Identifier.h
- Timestamp:
- Oct 27, 2008, 4:08:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/Identifier.h
r1952 r2019 100 100 inline void addFactory(BaseFactory* factory) { this->factory_ = factory; } 101 101 102 BaseObject* fabricate( );102 BaseObject* fabricate(BaseObject* creator); 103 103 bool isA(const Identifier* identifier) const; 104 104 bool isExactlyA(const Identifier* identifier) const; … … 502 502 @brief Overloading of the * operator: returns the assigned identifier. 503 503 */ 504 inline Identifier* operator*() 504 inline Identifier* operator*() const 505 505 { 506 506 return this->identifier_; … … 527 527 @return The new object 528 528 */ 529 T* fabricate( )530 { 531 BaseObject* newObject = this->identifier_->fabricate( );529 T* fabricate(BaseObject* creator) const 530 { 531 BaseObject* newObject = this->identifier_->fabricate(creator); 532 532 533 533 // Check if the creation was successful
Note: See TracChangeset
for help on using the changeset viewer.