libsrc/tumbler.cxx

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: tumbler.cxx,v $
00032  * Revision 1.5  2004/09/11 13:59:21  jrush
00033  * Changed all fprintf's to stderr to use the Nana library L() macro.  Also
00034  * removed a 2-3 minor compiler warnings.
00035  *
00036  * Revision 1.4  2002/05/28 04:22:29  jrush
00037  * Adjusted source files to comply with GPL licensing.
00038  *
00039  * Revision 1.3  2002/04/16 22:38:21  jrush
00040  * Added but then commented out new methods for tumblers acting as a C type.
00041  * Need to remove unions throughout system first, due to compiler errors.
00042  *
00043  * Revision 1.2  2002/04/12 11:56:43  jrush
00044  * Reorganized include file layout, renamed xanadu.h to udanax.h and
00045  * typecontext/typecrumcontext to C++ class Context/CrumContext.
00046  *
00047  * Revision 1.1  2002/04/10 17:46:43  jrush
00048  * Create a place to accumulate Tumbler class methods as we factor them out.
00049  *
00050  *
00051  */
00052 
00053 #include <assert.h>
00054 #include <memory.h>
00055 #include "udanax.h"
00056 
00057 //Tumbler::Tumbler(const Tumbler& other) // Copy Constructor
00058 //{
00059 //    L("Tumbler::Tumbler(const Tumbler&) invoked\n");
00060 //
00061 //    memcpy(this, other, sizeof(*this));
00062 //}
00063 
00064 //Tumbler&
00065 //Tumbler::operator=(const Tumbler& other)
00066 //{
00067 //    L("Tumbler::operator=(const Tumbler&) invoked\n");
00068 //    memcpy(this, other, sizeof(*this));
00069 //
00070 //    return *this;
00071 //}
00072 
00073 //Tumbler&
00074 //Tumbler::operator=(int n)
00075 //{
00076 //    assert(n == 0);
00077 //
00078 //    L("Tumbler::operator=(int) invoked\n");
00079 //
00080 //    memset(this, 0, sizeof(*this));
00081 //}

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