Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

/magnus/back_end/SessionManager/include/ObjectFactory.h

Go to the documentation of this file.
00001 /*
00002  *   $Id: ObjectFactory.h,v 1.1 2000/03/03 01:35:13 bormotov Exp $
00003  */
00004 
00005 // Copyright (C) 1998 The New York Group Theory Cooperative
00006 // See magnus/doc/COPYRIGHT for the full notice.
00007 
00008 // Contents: Implementation of class 
00009 //
00010 // Principal Author: Dmitry Pechkin
00011 //
00012 // Status: in progress
00013 //
00014 // Revision History:
00015 //
00016 
00017 //#include "SMObject.h"
00018 
00019 class ObjectFactory {
00020 public:
00021   virtual class SMObject* factory() const = 0;
00022 };
00023 
00024 class SymmetricGroupFactory : public ObjectFactory {
00025 public:
00026   SymmetricGroupFactory( int num ) : n(num) {}
00027   class SMObject* factory() const;
00028 private:
00029   int n;
00030 };

Generated at Tue Jun 19 09:49:38 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001