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

/magnus/back_end/SessionManager/include/AlgebraicObject.h

Go to the documentation of this file.
00001 /*
00002  *   $Id: AlgebraicObject.h,v 1.2 2000/03/03 01:35:06 bormotov Exp $
00003  */
00004 
00005 // Copyright (C) 1995 The New York Group Theory Cooperative
00006 // See magnus/doc/COPYRIGHT for the full notice.
00007 
00008 // Contents:
00009 //
00010 // Principal Author: Roger Needham
00011 //
00012 // Status: complete
00013 //
00014 // Revision History:
00015 //
00016 
00017 #ifndef _ALGEBRAICOBJECT_H_
00018 #define _ALGEBRAICOBJECT_H_
00019 
00020 
00021 #include "Chars.h"
00022 #include "SMObject.h"
00023 #include "InformationCenter.h"
00024 
00025 //---------------------------------------------------------------------------//
00026 //------------------------ AlgebraicObject ----------------------------------//
00027 //---------------------------------------------------------------------------//
00028 
00029 class AlgebraicObject : public SMObject
00030 {
00031 public:
00032 
00033   /////////////////////////////////////////////////////////////////////////
00034   //                                                                     //
00035   // Constructors:                                                       //
00036   //                                                                     //
00037   /////////////////////////////////////////////////////////////////////////
00038 
00039   AlgebraicObject(const Chars heritage) : myRoots( heritage ) { }
00040 
00041   /////////////////////////////////////////////////////////////////////////
00042   //                                                                     //
00043   // Accessors:                                                          //
00044   //                                                                     //
00045   /////////////////////////////////////////////////////////////////////////
00046 
00047   Chars heritage( ) const { return myRoots; }
00048 
00049   virtual       InformationCenter* infoCenter()       { return 0; }
00050   virtual const InformationCenter* infoCenter() const { return 0; }
00051 
00052 private:
00053 
00054   /////////////////////////////////////////////////////////////////////////
00055   //                                                                     //
00056   // Data Members:                                                       //
00057   //                                                                     //
00058   /////////////////////////////////////////////////////////////////////////
00059 
00060   const Chars myRoots;
00061 
00062 };
00063 
00064 #endif

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