include/context.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  * Copyright 2002 Jeff Rush <jrush@taupro.com>
00003  * Original Copyright 1979-2002 Udanax.com
00004  *
00005  * This file is part of the Udanax xanalogical storage system.
00006  *
00007  * Udanax is free software; you can redistribute it and/or modify it
00008  * under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * Udanax is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with Udanax; if not, write to the Free Software Foundation,
00019  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  **********************************************************************/
00021 
00030 /* Modification History:
00031  * $Log: context.h,v $
00032  * Revision 1.3  2002/05/28 03:51:13  jrush
00033  * Updated sources to comply with a GPL licensing.
00034  *
00035  * Revision 1.2  2002/04/13 13:44:35  jrush
00036  * Convert typedefs of structs to just structs, for C++ style.
00037  *
00038  * Revision 1.1  2002/04/12 11:44:12  jrush
00039  * Created new file to hold Context set of classes.
00040  *
00041  * Revision 1.7  2002/04/06 15:00:34  jrush
00042  * Changed INT to just 'int'.
00043  *
00044  * Revision 1.6  2002/04/02 19:01:30  jrush
00045  * Reduced bushiness of enfilades for better graph output.
00046  *
00047  * Revision 1.5  2002/02/14 05:40:42  jrush
00048  * Cleaned up source:
00049  *
00050  * 1. ran thru the indent tool to achieve a standard look,
00051  * 2. added structured comments at top for use with DOxygen reporting
00052  *    as well as CVS keywords,
00053  * 3. added #ifndef/#defines to prevent duplicate inclusions,
00054  * 4. insured all struct/union defs have names,
00055  * 5. centralized prototypes in protos.h, removing incomplete ones,
00056  * 6. cleaned up use of bool/BOOLEAN type to suit C++ type,
00057  * 7. fixed initializer nesting in tumbler constants.
00058  *
00059  */
00060 
00061 #ifndef __UDANAX_CONTEXT_H__
00062 #define __UDANAX_CONTEXT_H__
00063 
00064 class typecbc; // Forward Reference
00065 
00066 class ContextBase {
00067 public:
00068     ContextBase         *nextcontext;
00069     int                  contexttype;
00070     typedsp              totaloffset;
00071     typewid              contextwid;
00072 };
00073 
00074 class Context: public ContextBase {
00075 public:
00076     typebottomcruminfo   contextinfo;
00077     Context             *lastcontext;
00078 };
00079 
00080 struct type2dcontext {
00081     type2dcontext          *nextcontext;
00082     int                     contexttype;
00083     typedsp                 totaloffset;
00084     typewid                 contextwid;
00085 
00086     type2dbottomcruminfo    context2dinfo;
00087 };
00088 
00089 class CrumContext {
00090 public:
00091     CrumContext  *nextcrumcontext;
00092     typecbc      *corecrum;
00093     typedsp       totaloffset;
00094 };
00095 
00096 #endif /* !__UDANAX_CONTEXT_H__*/

Generated on Sun Aug 21 04:18:13 2005 for Udanax-Green by doxygen1.3.4