Factory.h File Reference

Factory that creates instances of objects. More...

#include <map>
#include "exceptions.h"

Go to the source code of this file.

Classes

class  DefaultFactoryError< IdentifierType, AbstractProduct >
 Manages the "Unknown Type" error in an object factory. More...
class  Factory< AbstractProduct, IdentifierType, Initializator, ProductCreator, FactoryErrorPolicy >
 Implementation of a generic object factory. More...


Detailed Description

Factory that creates instances of objects.

Author:
Libor Polcak, xpolca03@stud.fit.vutbr.cz

Boris Prochazka, xproch63@stud.fit.vutbr.cz

Martin Rapavy, xrapav00@stud.fit.vutbr.cz

Petr Zemek, xzemek02@stud.fit.vutbr.cz

Date:
16.3.2007
Using "Object factory design pattern" - creates instances of objects according to the given object identifier.

Part of the code taken from Loki library presented by: Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design Patterns Applied". Copyright (c) 2001. Addison-Wesley. Copyright (c) 2001 by Andrei Alexandrescu Permission to use, copy, modify, distribute and sell this software for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.


Generated on Sun Apr 29 11:46:10 2007 for IPP/ICP2007 by  doxygen 1.4.7