factory.h File Reference

Implementation of a factory that creates instances of objects. More...

#include <vector>
#include <map>
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  Templates

Classes

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


Detailed Description

Implementation of a factory that creates instances of objects.

Project: PGR 2008 Authors: Ondrej Lengal, xlenga00@stud.fit.vutbr.cz Libor Polcak, xpolca03@stud.fit.vutbr.cz Boris Prochazka, xproch63@stud.fit.vutbr.cz Petr Zemek, xzemek02@stud.fit.vutbr.cz

Date:
2008
Part of the code taken and modified 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 Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6